Method Creature:HasSpell [-] [+]

Returns true if the Creature can cast spellId when mind-controlled, and returns false otherwise.

Synopsis

hasSpell = Creature:HasSpell( spellId )

Arguments

number spellId

The ID of a Spell.

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

Returns

boolean hasSpell
See method description.

Generated on
©2016 - Eluna Lua Engine