Wikia

WoWWiki

API IsSpellKnown

Talk0
100,522pages on
this wiki
WoW API < IsSpellKnown
isKnown = IsSpellKnown(spellID, isPetSpell)

Arguments Edit

spellID 
integer - the spell ID number
isPetSpell 
boolean (optional) - if true, will check if the currently active pet knows the spell; if false or omitted, will check if the player knows the spell

Returns Edit

isKnown 
boolean - whether the player (or pet) knows the given spell
Advertisement | Your ad here

Around Wikia's network

Random Wiki