IsInSpellList
function · ui · primitive
- Address
0x4b3920· 40 bytes, up to0x4b3947- Signature
uint32_t __fastcall (uint32_t spell)- Meaning
- Returns whether a spell id is in a counted array of spell ids
- Confidence
- verified, proof one
- Finding
- ui/tooltipbuff#auras-of-other-units
Finding: Auras of other units in ui: Buff tooltips and the spell selectors
SetUnitBuff(unit, index [, filter]) and SetUnitDebuff(unit, index [, filter]) show a unit's index-th aura.
Buffs are counted from the first 32 aura slots and debuffs from the 16 after them. A slot counts when it has a
spell, its flag nibble has a bit of 0xe, the spell is not hidden (attribute bit 7, +0x1c bit 0x10000000, or
an effect of 44, 45 or 151) and, with the third argument set, the filter function accepts it. A party member
out of sight is read from the party record's 32 aura words instead. A unit in sight gives the builder the
aura's level and stack count; a party record gives level 0 and stack 1.
The derivation is in the doc.
Callers 2
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.