[315176] = true, -- Grasping Tendrils
};
-local rounds = 0;
function addon.FrameUpdate(frame)
assert(type(frame) == "table", "FrameUpdate received invalid frame parameter!");
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);
- rounds = 0;
+ frame.rounds = 0;
end
-- tank CD marker
if next(frame.tankcd) then
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