Skip to content

rq.PhysicalCtx ​

What rq.combat.on_physical gets for one physical hit.

Fields ​

NameTypeDescription
attackerintegerThe attacker's roster slot.
defenderintegerThe defender's roster slot.
skillintegerThe skill number.
attackintegerThe attack before defense, as the callback before left it.
magicintegerThe attacker's magic.
raceintegerThe defender's race (rq.ids.race); 8 is a hanny.
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.StatusDef, rq.combat.on_physical