Quantcast
WoWInterface - View Single Post - Newbie: Get XP recieved on kill?
View Single Post
01-07-07, 09:54 AM   #2
shouryuu
A Chromatic Dragonspawn
 
shouryuu's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2005
Posts: 150
When you kill a mob that gives you XP, the following event is triggered (http://www.wowwiki.com/Events/Player)

CHAT_MSG_COMBAT_XP_GAIN

The argument is the chat message you receive: " You gain XXXX experience", so all you have to do is parse the XXXX out.
  Reply With Quote