Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns whether the player (or pet) knows the given spell.

isKnown = IsSpellKnown(spellID [, isPetSpell])

Arguments[]

spellID
number - the spell ID number
isPetSpell
boolean? - 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[]

isKnown
boolean - whether the player (or pet) knows the given spell

Details[]

  • Returns false if querying a spell that has "replaced" a known spell, which returns true whether or not it's replaced (i.e. Retribution's Templar's Verdict (85256) will always be true and Final Verdict (336872) will be false whether or not you have the related legendary equipped). In these cases, use IsSpellKnownOrOverridesKnown(spellID) to check for spells like Final Verdict.
Advertisement