From 52532b23d8515197fd124731e2abc360497f2071 Mon Sep 17 00:00:00 2001 From: Taracque Date: Thu, 30 Aug 2012 10:59:37 +0200 Subject: [PATCH] =?UTF-8?q?Changed=20some=20debug=20strings=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DKCrutch.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DKCrutch.lua b/DKCrutch.lua index dd60c38..898249f 100644 --- a/DKCrutch.lua +++ b/DKCrutch.lua @@ -277,7 +277,6 @@ function DKCrutch:PurgePersonTable() if ( DKCrutch.person["friend"][i] ~= 0 ) then DKCrutch.person["friend"][i] = 0 -- mark as inactive DKCrutch.person["friendCount"] = DKCrutch.person["friendCount"] - 1 - DKCrutch:Debug('Friend removed:', DKCrutch.person["friendCount"]) end end end @@ -292,11 +291,13 @@ function DKCrutch:CountPerson(time, event, sguid, sname, sflags, dguid, dname, d if (bit.band(dflags, COMBATLOG_OBJECT_REACTION_HOSTILE) == COMBATLOG_OBJECT_REACTION_HOSTILE) and (bit.band(dflags, COMBATLOG_OBJECT_AFFILIATION_OUTSIDER) == COMBATLOG_OBJECT_AFFILIATION_OUTSIDER) and ((dtype==0) or (dtype==3)) then if ((not DKCrutch.person["foe"][dguid]) or (DKCrutch.person["foe"][dguid]==0)) then DKCrutch.person["foeCount"] = DKCrutch.person["foeCount"] + 1 + DKCrutch:Debug('Foe Added:', dguid) end DKCrutch.person["foe"][dguid] = GetTime() elseif (bit.band(sflags, COMBATLOG_OBJECT_REACTION_HOSTILE) == COMBATLOG_OBJECT_REACTION_HOSTILE) and (bit.band(sflags, COMBATLOG_OBJECT_AFFILIATION_OUTSIDER) == COMBATLOG_OBJECT_AFFILIATION_OUTSIDER) and ((stype==0) or (stype==3)) then if ((not DKCrutch.person["foe"][sguid]) or (DKCrutch.person["foe"][sguid]==0)) then DKCrutch.person["foeCount"] = DKCrutch.person["foeCount"] + 1 + DKCrutch:Debug('Foe Added:', sguid) end DKCrutch.person["foe"][sguid] = GetTime() end -- 1.7.9.5