Returns the current and maximum experience of a pet


See also Pet battles functions.

Signature:

xp, maxXP = C_PetBattles.GetXP(owner, index)

Arguments:

  • owner - The owner of the pet (string?)
  • index - The index of the pet to check (number)

Returns:

  • xp - The current amount of experience the pet has (number)
  • maxXP - The amount of experience needed to reach the next level (number)