s_spellModPct
global · spell
- Address
0xcecb30· 7424 bytes, up to0xcee82f- Type
int32_t[1856]- Meaning
- Holds the percent talent modifiers by family bit and op; zeroed by 0x6e7150, written by 0x6e9950
- Confidence
- verified, proof one
- Finding
- spell/records#talent-modifier-tables
Finding: Talent modifier tables in spell: records
HandleSetSpellModifierPacket (0x6e9950) reads a byte b, a byte op and an int32_t v, and
stores v at index b·29 + op of the percent table 0xcecb30 for opcode 0x267, of the flat
table 0xcead60 for any other, replacing what was there; then it calls 0x4d7d40 and returns 1.
Neither byte is checked: an index past 1855 writes beyond the table, up to 255·29 + 255. A short
packet leaves the unread fields as they were on the stack. 0x6e6ca0(class) copies the
ChrClasses record's +0x3c to the class family 0xcecaac and leaves it unchanged for no record.
The derivation is in the doc.