wowpedia
Main Menu


Returns whether the player has learned a particular spell.

isKnown = IsPlayerSpell(spellID)

Arguments

spellID
number - Spell ID of the spell to query, e.g. 1953 for [Blink].

Returns

isKnown
boolean - true if the player can cast this spell (or a different spell that overrides this spell), false otherwise.

Details

Patch changes

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also