Returns the name and sub-text of a spell in the spellbook
See also Spell functions.
Signature:
Name, Subtext = GetSpellBookItemName(index, "bookType") or GetSpellBookItemName("spellName")
Arguments:
index- Index of a spell in the spellbook (number, spellbookID)bookType- Type of spellbook (string)pet- The pet's spellbookspell- The player's spellbook
spellName- Name of a spell to query (string)
Returns:
Name- Name of the spell. (string)Subtext- The text that's written below the skill name. (string)