Script::CancelPlayerBuff
function · ui · orchestration
- Address
0x4e49a0· 127 bytes, up to0x4e4a1e- Signature
int __fastcall (lua_State *L)- Meaning
- Cancels a buff record's aura when its slot is a cancelable buff or its spell allows
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/auradisplay#cancelplayerbuff-and-tracking
Finding: CancelPlayerBuff and tracking in ui: the buff display functions
CancelPlayerBuff(position) raises its usage for a non-number and does nothing for no record. It cancels when the record's slot is below 32 and its nibble has the cancelable bit, or when the spell's AttributesEx (+0x1c) has bit 0x4. Cancelling is 0x6e7040(spellId), which sends the spell id.
GetTrackingTexture() pushes the icon path of the spell stored in 0xbc6378, or nil, and CancelTrackingBuff() cancels that spell when it is nonzero.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 6
- __ftol crt
- GetBuffRecord ui
- Spell_C::CancelAura spell
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.