Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-06-20, 03:06 AM   #1
glupikreten
A Theradrim Guardian
Join Date: Apr 2009
Posts: 60
Combat Log Unfiltered

Hi,

I tried to find answer in Blizzards API and on various forum posts and whatnot but couldn't...

I'm trying to identify pet's kill (overkill)... i know i can listen PARTY_KILL and match source with player do identify his slain. But that does not work for any kind of pet/totem... upon pet kill only UNIT_DIED event is triggered with source = nil.

So .. how can i be sure that my pet killed that target? I noticed in combat log a line saying something like this "Pet attacked some target for XX dmg (YY overkill)"... so i guess that means pet killed that target. Should i just parse that? If so any tips? And wouldn't that have performance issues? How can i be sure that its actually my pet given that pet names are not unique?

Thank you.
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Combat Log Unfiltered


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off