Mikk38024@legacy41558003 (talk | contribs) No edit summary |
Mikk38024@legacy41558003 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
− | {{wowapi}} |
+ | {{wowapi}}__NOTOC__ |
Returns how many spells/skills your pet has available. |
Returns how many spells/skills your pet has available. |
||
Revision as of 22:39, 9 August 2006
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns how many spells/skills your pet has available.
hasPetSpells, petToken = HasPetSpells();
Parameters
Arguments
- none
Returns
- numSpells
- Number - The number of pet spells/skills. nil if you do not have a pet out.
- petToken
- String - Pet type, can be "DEMON" or "PET".
Description
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.