mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Walks the player's buff range for an aura whose Spell.dbc effects include SPELL_AURA_MOUNTED (78) and sends CMSG_CANCEL_AURA for that spellID via the existing direct sender. Early-outs on UNIT_FIELD_MOUNTDISPLAYID == 0 to skip the aura walk when the player isn't mounted. Vanilla 1.12 has no Dismount global; addons had to find the mount buff via GetPlayerBuff and call CancelPlayerBuff with its 0-based index. Matches Classic Era's no-arg shape.