Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

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

numPets = C_PetBattles.GetNumPets(petOwner)

Arguments[]

petOwner
number
Value Enum Description
0 LE_BATTLE_PET_WEATHER
1 LE_BATTLE_PET_ALLY Current player
2 LE_BATTLE_PET_ENEMY Opponent

Returns[]

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

Patch changes[]

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

Advertisement