benilla-re systems structs docs

s_cases52e610

global · ui

Address
0x52f7c4 · 20 bytes, up to 0x52f7d7
Type
void *[5]
Meaning
Holds the 5 case addresses of the switch in 0x52e610
Confidence
inferred
Finding
ui/tooltipspellreq#the-chance-lines

Finding: The chance lines in ui: Spell tooltip requirements and description

A passive spell whose first effect is dodge (20), parry (22) or block (23), and a spell whose first effect is attack (78), whether passive or not, adds one line of the player's current chance: CHANCE_TO_DODGE, CHANCE_TO_PARRY, CHANCE_TO_BLOCK or CHANCE_TO_CRIT, in white. The percentage is a float of the player's field block, passed as a double to the template. A compact tooltip has no such line.

first effectkeyfield of the player block
20CHANCE_TO_DODGE+0xe5c
22CHANCE_TO_PARRY+0xe60
23CHANCE_TO_BLOCK+0xe58
78CHANCE_TO_CRIT+0xe64

The derivation is in the doc.