Kills made by hunter pets should now be tracked.
F16Gaming [08-03-12 - 14:42]
Kills made by hunter pets should now be tracked.
Other pets from other player classes should also be tracked, but has not
been tested.
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 "<No One>"
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