Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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[]
Patch 5.0.4 (2012-08-28): Added.