Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the number of available abilities for the player's combat pet.
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
numSpells
return value is not the number that are on the pet bar, but the number of entries in the pet's spell book.