Method PlayerBotAI:GetAura [-] [+]

Returns the named Aura carried by the given Unit, or nil.

Synopsis

aura = PlayerBotAI:GetAura( spellName, target, checkIsOwner, checkDuration, checkStack )

Arguments

string spellName
See method description.
Unit target (the)
See method description.
boolean checkIsOwner (false)
See method description.
boolean checkDuration (false)
See method description.
number checkStack

Valid numbers: integers from -2,147,483,647 to 2,147,483,647.

Returns

Aura aura
See method description.