View Single Post
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