Wikia

WoWWiki

API HasPetSpells

Talk0
98,518pages on
this wiki
Revision as of 22:39, August 9, 2006 by Mikk (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Advertisement | Your ad here

Photos

Add a Photo
62,044photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki