Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify

C_PetBattles.GetNumPets

From Wowpedia
Jump to: navigation, search

Returns the number of pets that the specified owner has in the pet battle.

numPets = C_PetBattles.GetNumPets(petOwner)

Arguments

petOwner
Number - 1: Current player, 2: Opponent

Returns

numPets
Number - Amount of pets that the current owner has in the pet battle (always 1-3).

Patch history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.


See also