Removed some debug code
Taracque [10-16-14 - 06:20]
diff --git a/Elementarist.lua b/Elementarist.lua
index c5982e5..00ef560 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -428,14 +428,14 @@ function Elementarist:CountPerson(time, event, sguid, sname, sflags, dguid, dnam
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 Elementarist.person["foe"][sguid]) or (Elementarist.person["foe"][sguid]==0)) then
Elementarist.person["foeCount"] = Elementarist.person["foeCount"] + 1
- Elementarist:Debug('Enemy added', Elementarist.person["foeCount"] .. " " .. sguid)
+ Elementarist:Debug('Enemy added', Elementarist.person["foeCount"] .. " " .. sguid .. " flags: " .. dflags)
end
Elementarist.person["foe"][sguid] = GetTime()
end
if (bit.band(dflags, COMBATLOG_OBJECT_REACTION_FRIENDLY) == COMBATLOG_OBJECT_REACTION_FRIENDLY) and ((dtype==0) or (dtype==3)) then
if ((not Elementarist.person["friend"][dguid]) or (Elementarist.person["friend"][dguid]==0)) then
Elementarist.person["friendCount"] = Elementarist.person["friendCount"] + 1
- Elementarist:Debug('Friend added', Elementarist.person["friendCount"] .. " " .. dguid .. " " .. dflags)
+ Elementarist:Debug('Friend added', Elementarist.person["friendCount"] .. " " .. dguid .. " flags: " .. dflags)
end
Elementarist.person["friend"][dguid] = GetTime()
elseif (bit.band(sflags, COMBATLOG_OBJECT_REACTION_FRIENDLY) == COMBATLOG_OBJECT_REACTION_FRIENDLY) and ((stype==0) or (stype==3)) then
diff --git a/modules/elemental.lua b/modules/elemental.lua
index 5901df2..3acbc58 100755
--- a/modules/elemental.lua
+++ b/modules/elemental.lua
@@ -157,7 +157,6 @@ Elementarist.elemental = {
(exspell1 == Elementarist.SpellList["Flame Shock"]) or
(exspell2 == Elementarist.SpellList["Flame Shock"])
) then
- Elementarist:Debug('in range','LvB')
if (((Elementarist.SpellList["Lava Burst"]) ~= spellInCast) or (ascendance ~= nil)) then
d = Elementarist:GetSpellCooldownRemaining(Elementarist.SpellList["Lava Burst"])
if ((d-timeshift) <= 0) or ((ascendanceExp-GetTime()-timeshift) > 0) then