Quantcast

Merge branch 'master' into mop

F16Gaming [08-03-12 - 14:43]
Merge branch 'master' into mop
Filename
KillTrack.lua
diff --git a/KillTrack.lua b/KillTrack.lua
index 579c65a..a6944da 100644
--- a/KillTrack.lua
+++ b/KillTrack.lua
@@ -95,7 +95,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