Quantcast

Fixed the mini buff/debuff tracker for track up to 10 targets. (maybe usefull for riptide)

Taracque [12-07-12 - 14:55]
Fixed the mini buff/debuff tracker for track up to 10 targets. (maybe usefull for riptide)
Filename
Elementarist.lua
diff --git a/Elementarist.lua b/Elementarist.lua
index d5e1f0c..8147d69 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -589,7 +589,7 @@ function Elementarist:UpdateDebuffTracker()
 	-- update mini frames
 	local m = 1
 	for i,v in pairs(Elementarist.debuffCooldowns) do
-		if ( (v["start"] + v["duration"]) > GetTime() ) and (i ~= tguid) and (m <= 4) and (v["action"]>GetTime() - 4) then
+		if ( (v["start"] + v["duration"]) > GetTime() ) and (i ~= tguid) and (m <= 10) and (v["action"]>GetTime() - 4) then
 			Elementarist:SetTexture(Elementarist.textureList["debuff_" .. tostring(m)],icon)
 			Elementarist.debuffCooldownFrame["mini_" .. tostring(m)]:SetCooldown( v["start"], v["duration"])
 			m = m + 1