Skip to content

rq.CritCtx ​

What rq.combat.on_crit gets where the game rolls a critical.

Fields ​

NameTypeDescription
attackerintegerThe attacker's roster slot.
defenderintegerThe defender's roster slot.
skillintegerThe skill number.
rateintegerThe critical chance the game is about to roll, in percent.
defender_typeintegerThe defender's type (Cタイプ); 22 is humanoid.
forecastbooleantrue 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.

Used by ​

rq.combat.on_crit