git
/
wowui.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
c3dac76 - Line for Xanesh football
[wowui.git]
/
kehys
/
updater.lua
diff --git
a/kehys/updater.lua
b/kehys/updater.lua
index
bb8fba1
..
a3bd53c
100644
(file)
--- a/
kehys/updater.lua
+++ b/
kehys/updater.lua
@@
-21,7
+21,6
@@
local ignoredAuras = {
[315176] = true, -- Grasping Tendrils
};
[315176] = true, -- Grasping Tendrils
};
-local rounds = 0;
function addon.FrameUpdate(frame)
assert(type(frame) == "table", "FrameUpdate received invalid frame parameter!");
function addon.FrameUpdate(frame)
assert(type(frame) == "table", "FrameUpdate received invalid frame parameter!");
@@
-124,15
+123,15
@@
function addon.FrameUpdate(frame)
elseif frame.healpred:IsShown() then
frame.healpred:Hide();
end
elseif frame.healpred:IsShown() then
frame.healpred:Hide();
end
-
rounds =
rounds + 1;
- if (
rounds > 8
) then
+
frame.rounds = frame.
rounds + 1;
+ if (
frame.rounds > 7
) then
frame.tankcd = {};
frame.alert = {};
frame.stacks = {};
frame.heal = {};
frame.buff1 = {};
addon.SetAuras(frame.unit, frame.guid);
frame.tankcd = {};
frame.alert = {};
frame.stacks = {};
frame.heal = {};
frame.buff1 = {};
addon.SetAuras(frame.unit, frame.guid);
- rounds = 0;
+
frame.
rounds = 0;
end
-- tank CD marker
if next(frame.tankcd) then
end
-- tank CD marker
if next(frame.tankcd) then
@@
-154,6
+153,12
@@
function addon.FrameUpdate(frame)
elseif frame.buffind1:IsShown() then
frame.buffind1:Hide();
end
elseif frame.buffind1:IsShown() then
frame.buffind1:Hide();
end
+ -- incoming ability
+ if next(frame.incoming) then
+ if not frame.glow:IsShown() then frame.glow:Show() end
+ elseif frame.glow:IsShown() then
+ frame.glow:Hide();
+ end
-- overlays
if next(frame.alert) then
-- major
-- overlays
if next(frame.alert) then
-- major