From f7a82b695d3423b3794d7705da6158f217710235 Mon Sep 17 00:00:00 2001 From: Parnic Date: Thu, 1 Dec 2011 02:20:39 +0000 Subject: [PATCH] - don't trigger the ability cooldown bar if the spell in question only has a 1.5 second or less cooldown. this indicates that it's on cooldown as part of the GCD and we have a separate module for GCD tracking --- modules/CustomCDBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CustomCDBar.lua b/modules/CustomCDBar.lua index a12de04..a456c2b 100644 --- a/modules/CustomCDBar.lua +++ b/modules/CustomCDBar.lua @@ -481,7 +481,7 @@ function IceCustomCDBar.prototype:GetCooldownDuration(buffName) local localDuration = nil local localStart, localRemaining, hasCooldown = GetSpellCooldown(buffName) - if (hasCooldown == 1) then + if (hasCooldown == 1 and localRemaining > 1.5) then -- the item has a potential cooldown if localStart == 0 and localRemaining == 0 then return nil, nil