Don't set a cooldown to the dr and interruptbar frames either.

This commit is contained in:
Relintai 2021-06-26 12:43:35 +02:00
parent 7e58f2b605
commit b03b127757
2 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ function Rekt:CreateDRFrames(which)
frame.texture = text; frame.texture = text;
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame); local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);
CoolDown:SetAllPoints() CoolDown:SetAllPoints()
CoolDown:SetCooldown(GetTime(), 50); --CoolDown:SetCooldown(GetTime(), 50);
local t = frame:CreateFontString(nil, "OVERLAY"); local t = frame:CreateFontString(nil, "OVERLAY");
t:SetNonSpaceWrap(false); t:SetNonSpaceWrap(false);
t:SetPoint("CENTER", frame, "CENTER", 0, 0); t:SetPoint("CENTER", frame, "CENTER", 0, 0);

View File

@ -43,7 +43,7 @@ function Rekt:CreateInterruptBarFrames()
frame.texture = text; frame.texture = text;
local CoolDown = CreateFrame("Cooldown", "RektIBCoolDown" .. i, frame); local CoolDown = CreateFrame("Cooldown", "RektIBCoolDown" .. i, frame);
CoolDown:SetAllPoints() CoolDown:SetAllPoints()
CoolDown:SetCooldown(GetTime(), 50); --CoolDown:SetCooldown(GetTime(), 50);
frame:Hide(); frame:Hide();
local colorframe = CreateFrame("Frame", nil, UIParent, nil); local colorframe = CreateFrame("Frame", nil, UIParent, nil);