Returns the level of a pet


See also Pet battles functions.

Signature:

level = C_PetBattles.GetLevel(petOwner, petIndex)

Arguments:

  • petOwner - 1: Current player, 2: Opponent (number)
  • petIndex - Accepted values are 1-3, but the order is based off of the initial order. (number)

Returns:

  • level - The level of the pet (number)