benilla-re systems structs docs

s_textSPELLSCHOOLDCAP

global · ui

Address
0x84e4cc · 19 bytes, up to 0x84e4de
Type
char[19]
Meaning
Holds the string "SPELL_SCHOOL%d_CAP"
Confidence
verified, proof one
Finding
ui/tooltipitemstats#resistance-lines

Finding: Resistance lines in ui: Item damage, armor and stat lines

Six resistance fields, Holy to Arcane. When all six are equal and nonzero, one ITEM_RESIST_ALL line shows the common value. When they differ, one ITEM_RESIST_SINGLE line is added for each nonzero field other than Holy, in the order Arcane, Fire, Nature, Frost, Shadow, with the sign, the absolute value and the school's name. Holy is only ever part of the all-equal test: a record with Holy 0 and the five others equal shows five lines, and a record with only Holy set shows nothing. All six equal and 0 adds nothing.

The derivation is in the doc.