→ WoW API
Returns the number of pets that the specified owner has in the pet battle.
numPets = C_PetBattles.GetNumPets(petOwner)
- Number - 1: Current player, 2: Opponent
- Number - Amount of pets that the current owner has in the pet battle (always 1-3).
Patch 5.0.4 (2012-08-28): Added.