s_immunityAuraJumpTable
global · spell
- Address
0x6e9e18· 20 bytes, up to0x6e9e2b- Type
void *[5]- Meaning
- Holds the five case addresses of the immunity matcher 0x6e9d70
- Confidence
- verified, proof one
- Finding
- spell/checks#immunity-matcher
Finding: Immunity matcher in spell: checks
0x6e9d70(castRec, auraRec, j) returns 1 when the spell being cast grants an immunity that covers
effect j of the aura. It returns 0 when castRec is null, lacks AttributesEx & 0x8000, or
auraRec has Attributes & 0x20000000. Otherwise, for each of the cast's three effects that is
6 (apply aura), with m its misc value, the effect's aura type decides: 38 matches when m equals
the aura's aura type for effect j; 39 when bit School & 31 of m is set and the aura lacks
AttributesEx2 & 0x4000000; 41 when m equals the aura's Dispel; 77 when m equals its
Mechanic or effect j's mechanic. Any match returns 1; other types never match.
The derivation is in the doc.