benilla-re systems structs docs

s_victimStateActions

global · ui

Address
0x83de28 · 36 bytes, up to 0x83de4b
Type
const char *[9]
Meaning
Holds the UNIT_COMBAT action words of victim states 0 to 8, MISS to DEFLECT
Confidence
verified, proof one
Finding
objectlayer/playercombat#the-unit-combat-event

Finding: The unit combat event in objectlayer: player spells and combat

One function raises UNIT_COMBAT (event 0xb6): 0x494600(unit, action, amount, type, hit flags) signals it once per unit token of the unit (ui/unittokens) with the token, the action, a descriptor chosen from the amount and the flags, the amount and the type. With no token nothing is signalled. Four wrappers feed it, and only these four: 0x4946b0 the action WOUND, 0x4946d0 the melee record's victim state, 0x494720 the spell miss type with amount, type and flags 0, and 0x494740 HEAL with type 0 and flag 0x80 for a critical heal.

The derivation is in the doc.