Wikia

WoWWiki

Changes: API HasPetSpells

Edit

Back to page

 
Line 1: Line 1:
{{wowapi}}__NOTOC_
+
{{wowapi}}__NOTOC__
 
Returns how many spells/skills your pet has available.
 
Returns how many spells/skills your pet has available.
   

Latest revision as of 22:39, August 9, 2006

WoW API < HasPetSpells

Returns how many spells/skills your pet has available.

hasPetSpells, petToken = HasPetSpells();

Parameters Edit

Arguments Edit

none

Returns Edit

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 Edit

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.

Around Wikia's network

Random Wiki