Method PlayerBot.BotCanCastSpell [-] [+]
Check whether the bot can cast a given spell on an optional target.
Synopsis
canCast = Playerbot.BotCanCastSpell( guidLow, spellId, target )
Arguments
number guidLowBot GUID low.
Valid numbers: integers from 0 to 4,294,967,295.
number spellIdSpell ID.
Valid numbers: integers from 0 to 4,294,967,295.
nit|ni targetOptional target unit.
Returns
boolean canCastTrue if the bot can cast the spell.