Returns the number of pets a player/enemy has.


See also Pet battles functions.

Signature:

amount = C_PetBattles.GetNumPets(owner)

Arguments:

  • owner - The owner of the pet (number)
    • 1 - The player
    • 2 - The opponent

Returns:

  • amount - The number of pets the unit has (number)