GetNumSpellTabs

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 1.0.0 / 1.13.2

Returns the number of tabs in the spellbook.

numTabs = GetNumSpellTabs()

Returns

numTabs
number - number of ability tabs in the player's spellbook (e.g. 4 -- "General", "Arcane", "Fire", "Frost")

Details

  • Each of the player's professions also gets a spellbook tab, but these tabs are not included in the count returned by this function.