s_unitCombatFormat
global · ui
- Address
0x84333c· 11 bytes, up to0x843346- Type
const char[11]- Meaning
- Holds the UNIT_COMBAT event format %s%s%s%d%d
- 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.