Method Unit:GetAura [-] [+]
Returns the Aura of the given spell on the Unit, or nil if not found. Optionally filters by caster, item caster, and required effect mask.
Synopsis
aura = Unit:GetAura( spellId )
aura = Unit:GetAura( spellId, caster )
aura = Unit:GetAura( spellId, caster, itemCaster )
aura = Unit:GetAura( spellId, caster, itemCaster, reqEffMask )
Arguments
number spellIdThe spell ID to look up.
Valid numbers: integers from 0 to 4,294,967,295.
number caster (ObjectGuid)Valid numbers: integers from 0 to 18,446,744,073,709,551,615.
number itemCaster (ObjectGuid)Valid numbers: integers from 0 to 18,446,744,073,709,551,615.
number reqEffMask (0)Bitmask of effects that must be present, or 0 for any.
Valid numbers: integers from 0 to 255.
Returns
Aura auraThe aura object or nil.