detect fear ward cd when buffed pre arena start

This commit is contained in:
Sumsebrum
2022-01-11 00:05:31 +01:00
parent 1b2311fea2
commit 8df7aae3b6
2 changed files with 28 additions and 9 deletions

View File

@ -502,7 +502,7 @@ function Cooldowns:UpdateCooldowns(button)
end
end
function Cooldowns:CooldownUsed(unit, unitClass, spellId)
function Cooldowns:CooldownUsed(unit, unitClass, spellId, expirationTimeInSeconds)
local button = Gladdy.buttons[unit]
if not button then
return
@ -547,7 +547,7 @@ function Cooldowns:CooldownUsed(unit, unitClass, spellId)
if (Gladdy.db.cooldown) then
-- start cooldown
self:CooldownStart(button, spellId, cd)
self:CooldownStart(button, spellId, expirationTimeInSeconds or cd)
end
--[[ announcement