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.
|