Lore archive · Warcraft Wiki, 2023 dump
API IsTalentSpell
Last wiki revision 2023-08-13
Returns true if the specified spell is learned from a talent. isTalentSpell = IsTalentSpell( spellName or slotIndex, bookType )
- spellName: - Name of a spell currently in the player's spellbook
or
- slotIndex: - spell book item index. Valid values are 1 through total number of spells in the spell book on all pages and all tabs, ignoring empty slots.
- bookType: - one of BOOKTYPE_SPELL ("spell") or BOOKTYPE_PET ("pet").
- isTalentSpell: - true if the spell is learned from a talent, false otherwise.
- The default UI uses this function to determine whether to show the word "Talent" underneath the spell name in the spell book.
Source
https://warcraft.wiki.gg/wiki/API_IsTalentSpell · 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.