Returns the index of the currently active pet.
See also Pet battles functions.
Signature:
index = C_PetBattles.GetActivePet(owner)
Arguments:
owner- The owner of the pet (number)1- The player2- The opponent
Returns:
index- The index of the pet (number)