Fandom

WoWWiki

API IsSpellKnown

104,632pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki