Wowpedia
Advertisement
Wowpedia
240,504
pages
Game Flavors
Links
Patch
Added in 1.1.0 / 1.13.2

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 numSpells return value is not the number that are on the pet bar, but the number of entries in the pet's spell book.
Advertisement