PET_BATTLE_XP_CHANGED
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.
External links
GitHub FrameXML, Gethe
Globe "wut?" Tool, Townlong-Yak
Blizzard API Docs, Townlong-Yak
Offline /api addon, MrBuds