- 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

This commit is contained in:
Parnic
2011-12-01 02:20:39 +00:00
parent 3c3dc18755
commit f7a82b695d

View File

@ -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