Quantcast

Don't show cooldown timer on debuff tracker, if Show Numbers for Cooldowns is on in Interface / Action Bars

Taracque [10-17-14 - 22:21]
Don't show cooldown timer on debuff tracker, if Show Numbers for Cooldowns is on in Interface / Action Bars
Filename
Elementarist.lua
diff --git a/Elementarist.lua b/Elementarist.lua
index 4ac0ab8..5396334 100755
--- a/Elementarist.lua
+++ b/Elementarist.lua
@@ -668,7 +668,7 @@ function Elementarist:UpdateAuraTracker()
 	if (Elementarist.callbacks.COMBAT_LOG == nil) then
 		if (name) then
 			Elementarist:SetTexture(Elementarist.textureList["debuff"],icon)
-			if (not Elementarist.OmniCC) then
+			if (not Elementarist.OmniCC) and (not GetCVarBool("countdownForCooldowns")) then
 				Elementarist.textList["debuff"]:SetText(format('%.1f', (e - GetTime())))
 			end
 			Elementarist.auraCooldownFrame["main"]:SetCooldown( e-d, d)