Wowpedia

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

READ MORE

Wowpedia
Advertisement

Returns whether a given spell is specific to a specialization and/or class.

spec, class = IsSpellClassOrSpec(spellName or spellIndex, bookType)

Arguments[]

spellname
string - name of the spell currently known by the player.

or

spellIndex
number - spell book slot index, ascending from 1.
bookType
string - spell book type, e.g. BOOKTYPE_SPELL ("spell") for player's spell book.

Returns[]

spec
string - name of the specialization the spell is exclusive to, nil if not a specialization-granted spell.
class
string - name of the class the spell is exclusive to, nil if not a class ability.

Patch changes[]

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

Advertisement