C_SpellBook .HasPetSpells
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 11.0.0 |
This API only exists on the 11.0.0 Public Test Realm |
Returns the number of available abilities for the player's combat pet.
numSpells, petToken = C_SpellBook.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.
Patch changes
- Patch 11.0.0 (Beta): Added, replacement for HasPetSpells.