API GetSpellBookItemInfo

Retrieves information about a specific SpellBook item skillType, spellId = GetSpellBookItemInfo(spellName or index, bookType)

Arguments

 * spellName:String - The name of the spell you want to query
 * index : Number - The index into the spellbook
 * bookType : String - Spell book type; either BOOKTYPE_PET ("pet") or BOOKTYPE_SPELL ("spell").

Returns

 * skillType:String - The type of the spell (known values: "SPELL", "PETACTION", "FUTURESPELL", "FLYOUT")
 * spellId:Number - Spell ID of the spellbook item.

If nothing is found or invalid parameters were supplied, nil is returned