s_physicalResistIndex
global · ui
- Address
0x855808· 4 bytes, up to0x85580b- Type
int32_t- Meaning
- Holds the index of the damage class row marked physical, −1 until the table is checked
- Confidence
- verified, proof one
- Finding
- ui/tooltipunitstatus#the-studied-creature-lines
Finding: The studied-creature lines in ui: Unit tooltip status lines
A unit with the special-info dynamic flag (fields+0x224, bit 4), which a creature has after it has been
studied, adds a block: its damage, armor and health, then one line per nonzero resistance, then the
pet diet and the pet abilities. The first block is DAMAGE_TEMPLATE of the unit's minimum and maximum
damage (the minimum truncated, the maximum rounded up), or SINGLE_DAMAGE_TEMPLATE when they are equal,
ARMOR_TEMPLATE with its armor, HP_TEMPLATE with its health and RESISTANCE_TEMPLATE with the value and the
school's name for each other resistance above 0. All are white.
The derivation is in the doc.