benilla-re systems structs docs

ClassifySpellEffect

function · spell · primitive

Address
0x6e3b80 · 76 bytes, up to 0x6e3bcb
Signature
uint8_t __fastcall (uint32_t effect, uint32_t aura, uint8_t *integral)
Meaning
Returns whether an effect takes a damage op and sets whether its amount rounds to integers
Confidence
verified, proof one
Finding
spell/records#effect-classes

Finding: Effect classes in spell: records

0x6e3b80(effect, aura, &integral) sorts an effect by its code and aura. It returns 1, with integral = 1, for effects 2, 9, 17, 31, 58, 121, and for effects 6, 27, 35, 119, 128, 129 with aura 3, 15, 43, 53 or 89. It returns 0 with integral = 1 for effects 8, 10, 30, 62, 67, 75, and for the aura effects with aura 8, 20, 21, 24, 62, 63, 64 or 162. Anything else returns 0 with integral = 0, including effects outside 2 to 129.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.