WoW API < HasPetSpells

Returns how many spells/skills your pet has available.

hasPetSpells, petToken = HasPetSpells();

Parameters[edit | edit source]

Arguments[edit | edit source]


Returns[edit | edit source]

Number - The number of pet spells/skills. nil if you do not have a pet out.
String - Pet type, can be "DEMON" or "PET".

Description[edit | edit source]

Returns how many spells/skills the pet has available. This is not the number that are on the pet bar - it is the number of spells/skills in the pet's spellbook.

Community content is available under CC-BY-SA unless otherwise noted.