benilla-re systems structs docs

s_chanceEffectMap

global · ui

Address
0x52f7d8 · 59 bytes, up to 0x52f812
Type
uint8_t[59]
Meaning
Maps the first effect minus 20 to an arm of the chance line switch
Confidence
verified, proof one
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.