API HasPetSpells

Returns how many abilities your pet has available. hasPetSpells, petToken = HasPetSpells

Returns

 * numSpells : Number - The number of pet abilities available, or nil if you do not have a pet with a spell book.
 * petToken : String - Pet type, can be "DEMON" or "PET".

Description

 * This  return value is not the number that are on the pet bar, but the number of entries in the pet's spell book.