local UnitIsDeadOrGhost, UnitIsConnected = UnitIsDeadOrGhost, UnitIsConnected;
local CTimerAfter = C_Timer.After;
+local Frames = OmaFrames;
+local positions = Frames.Positions;
+
local watchedAuras = {
[53563] = "TOPRIGHT",
[156910] = "TOPRIGHT",
local updaters = {};
local updating = {};
-local positions = {"TOPRIGHT", "BOTTOMLEFT"};
local auraFilters = {"HELPFUL", "HARMFUL"};
+local M = {};
+OmaIndicators = M;
+
local function remaining(text, expires, current)
if expires == 0 then
text:SetText("");
end
end
-function OmaCheckIndicators(frame, unit)
+function M.CheckIndicators(frame, unit)
for _, pos in pairs(positions) do
frame.inds[pos].expires = nil;
frame.inds[pos]:Hide();