rq.CritCtx
What rq.combat.on_crit gets where the game rolls a critical.
Fields
| Name | Type | Description |
|---|---|---|
attacker | integer | The attacker's roster slot. |
defender | integer | The defender's roster slot. |
skill | integer | The skill number. |
rate | integer | The critical chance the game is about to roll, in percent. |
defender_type | integer | The defender's type (Cタイプ); 22 is humanoid. |
forecast | boolean | true when the game only works out the battle forecast (rq.battle.on_forecast), not a real hit: count nothing and roll no dice then. Since 2.26.0. |
