Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Fired when a battle pet gains experience during a pet battle.

PET_BATTLE_XP_CHANGED: owner, petIndex, xpChange

Payload[]

owner
number - team to which the pet belongs, 1 for the player's team, 2 for the opponent.
petIndex
number - pet index within the team.
xpChange
number - amount of XP gained.

Details[]

  • The PetJournal and PetBattles APIs still return the old level/experience information for the pet when this event fires.

Patch changes[]

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

Advertisement