Quantcast

Fixed F. C.: -0 bug (Fallen crusader proc is displayed even if expired)

Taracque [03-10-14 - 10:41]
Fixed F. C.: -0 bug (Fallen crusader proc is displayed even if expired)
Filename
DKCrutch.lua
diff --git a/DKCrutch.lua b/DKCrutch.lua
index 4d75c4a..5ce29af 100755
--- a/DKCrutch.lua
+++ b/DKCrutch.lua
@@ -1320,7 +1320,7 @@ function DKCrutch:Update()
 	end
 	if (not DKCrutchDB.weaponDisabled) then
 		name, _, icon, _, _, d, e = DKCrutch:hasBuff("player", DKCrutch.SpellList["Unholy Strength"])
-		if (name) then
+		if (name) and (e - GetTime()>0) then
 			if (DKCrutch.weaponText:GetText() == "") then
 				DKCrutch.weaponFrame:SetMinMaxValues(0, d)
 			end