Retrieves information about a specific spellbook item.
skillType, special = GetSpellBookItemInfo(spellName) = GetSpellBookItemInfo(index, bookType)
- string - The localized name of the spell to query.
- number - The index into the spellbook.
- string - Spell book type. Although intended to be BOOKTYPE_PET ("pet") or BOOKTYPE_SPELL ("spell"), the game currently only tests if this value is equal to "pet" and treats any other value as "spell".
- - The type of the spell (SPELL, FUTURESPELL, PETACTION, FLYOUT).
- If nothing is found or invalid parameters were supplied, nil is returned.