Lore archive · Warcraft Wiki, 2023 dump
API IsSpellClassOrSpec
Last wiki revision 2022-08-01
Returns whether a given spell is specific to a specialization and/or class. spec, class = IsSpellClassOrSpec(spellName or spellIndex, bookType)
or
- spellname: - name of the spell currently known by the player.
- spellIndex: - spell book slot index, ascending from 1.
- bookType: - spell book type, e.g. BOOKTYPE_SPELL ("spell") for player's spell book.
- spec: - name of the specialization the spell is exclusive to, nil if not a specialization-granted spell.
- class: - name of the class the spell is exclusive to, nil if not a class ability.
Source
https://warcraft.wiki.gg/wiki/API_IsSpellClassOrSpec · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.