mirror of
https://github.com/Relintai/Relintais-Enemy-Kooldown-Tracker-WotLK.git
synced 2025-05-07 22:41:37 +02:00
Compare commits
No commits in common. "master" and "1.11.6" have entirely different histories.
@ -187,22 +187,18 @@ function Rekt:SortCDs(which)
|
|||||||
local i = 1;
|
local i = 1;
|
||||||
for k, v in pairs(self.cds[self.targets[which]]) do
|
for k, v in pairs(self.cds[self.targets[which]]) do
|
||||||
if not (k == "spec") then
|
if not (k == "spec") then
|
||||||
local ttmp = {
|
tmp[i] = {
|
||||||
currentTime = v[1],
|
currentTime = v[1],
|
||||||
endTime = v[2],
|
endTime = v[2],
|
||||||
cd = v[3],
|
cd = v[3],
|
||||||
spellIcon = v[4],
|
spellIcon = v[4],
|
||||||
spellID = v[5],
|
spellID = v[5],
|
||||||
spellCategory = v[6]
|
spellCategory = v[6]
|
||||||
};
|
};
|
||||||
|
|
||||||
if ttmp then
|
--self:Print(v[1] .. v[2] .. v[3] .. v[4] .. v[5])
|
||||||
tmp[i] = ttmp;
|
--self:Print(tmp[i]["currentTime"] .. " " .. tmp[i]["endTime"] .. " " .. tmp[i]["cd"]);-- .. " " .. tmp[i][4] .. " " .. tmp[i][5])
|
||||||
|
i = i + 1;
|
||||||
--self:Print(v[1] .. v[2] .. v[3] .. v[4] .. v[5])
|
|
||||||
--self:Print(tmp[i]["currentTime"] .. " " .. tmp[i]["endTime"] .. " " .. tmp[i]["cd"]);-- .. " " .. tmp[i][4] .. " " .. tmp[i][5])
|
|
||||||
i = i + 1;
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -251,7 +247,7 @@ function Rekt:CreateFrames(which)
|
|||||||
frame:SetScript("OnUpdate", function() self:VOnTimerUpdate(which) end)
|
frame:SetScript("OnUpdate", function() self:VOnTimerUpdate(which) end)
|
||||||
end
|
end
|
||||||
local text = frame:CreateTexture();
|
local text = frame:CreateTexture();
|
||||||
--text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
|
text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
|
||||||
text:SetAllPoints(frame);
|
text:SetAllPoints(frame);
|
||||||
frame.texture = text;
|
frame.texture = text;
|
||||||
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);
|
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);
|
||||||
|
@ -330,7 +330,7 @@ function Rekt:CreateDRFrames(which)
|
|||||||
frame:SetScript("OnUpdate", function() self:VOnDRTimerUpdate(wh) end)
|
frame:SetScript("OnUpdate", function() self:VOnDRTimerUpdate(wh) end)
|
||||||
end
|
end
|
||||||
local text = frame:CreateTexture();
|
local text = frame:CreateTexture();
|
||||||
--text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
|
text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
|
||||||
text:SetAllPoints(frame);
|
text:SetAllPoints(frame);
|
||||||
frame.texture = text;
|
frame.texture = text;
|
||||||
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);
|
local CoolDown = CreateFrame("Cooldown", "RektCoolDown" .. i, frame);
|
||||||
|
@ -38,7 +38,7 @@ function Rekt:CreateInterruptBarFrames()
|
|||||||
frame:SetScript("OnUpdate", function() self:OnInterruptBarUpdate() end)
|
frame:SetScript("OnUpdate", function() self:OnInterruptBarUpdate() end)
|
||||||
end
|
end
|
||||||
local text = frame:CreateTexture();
|
local text = frame:CreateTexture();
|
||||||
--text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
|
text:SetTexture("Interface\\Icons\\Spell_Arcane_Blink")
|
||||||
text:SetAllPoints(frame);
|
text:SetAllPoints(frame);
|
||||||
frame.texture = text;
|
frame.texture = text;
|
||||||
local CoolDown = CreateFrame("Cooldown", "RektIBCoolDown" .. i, frame);
|
local CoolDown = CreateFrame("Cooldown", "RektIBCoolDown" .. i, frame);
|
||||||
|
Loading…
Reference in New Issue
Block a user