From f2a3b3c6d2ea0e94d8e5f660932da47642ffe37d Mon Sep 17 00:00:00 2001 From: F16Gaming Date: Fri, 3 Aug 2012 16:42:27 +0200 Subject: [PATCH] Kills made by hunter pets should now be tracked. Other pets from other player classes should also be tracked, but has not been tested. --- KillTrack.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/KillTrack.lua b/KillTrack.lua index 51af202..c619b4d 100644 --- a/KillTrack.lua +++ b/KillTrack.lua @@ -94,7 +94,9 @@ function KT.Events.COMBAT_LOG_EVENT_UNFILTERED(self, ...) local name = tostring((select(9, ...))) local lastDamage = DamageTrack[id] or "" local pass - if self.Global.COUNT_GROUP then + if lastDamage == UnitName("pet") then + pass = true + elseif self.Global.COUNT_GROUP then pass = self:IsInGroup(lastDamage) else pass = UnitName("player") == lastDamage -- 1.7.9.5