Method PlayerBot.BotHasAura [-] [+]

Check whether the bot has an aura.

The second parameter may be a numeric spellId or a spellName string. An optional third parameter can specify a Unit to check (defaults to the bot).

Synopsis

hasAura = Playerbot.BotHasAura( guidLow, spellIdOrName, target )

Arguments

number guidLow

Bot GUID low.

Valid numbers: integers from 0 to 4,294,967,295.

int32|strin spellIdOrName

Spell id or name.

nit|ni target

Optional unit to check.

Returns

boolean hasAura
See method description.

Generated on
©2026 - ALE Lua Engine