+ local icon, count, expires, id;
+ local showInds, needUpdate = false, false;
+ local i = 1;
+ while true do
+ _, _, icon, count, _, _, expires, _, _, _, id = UnitAura(unit, i, "PLAYER HELPFUL");
+ if not id then break end
+ local pos = watchedAuras[id];
+ if pos then
+ needUpdate = showInd(frame.inds[pos], expires, current, count, icon) or needUpdate;
+ showInds = true;
+ end
+ i = i + 1;
+ end
+
+ if showInds then
+ frame.indBase:Show();
+ if needUpdate and not updating[frame] then
+ updating[frame] = true; -- race?
+ -- create a function for updating the indicator
+ local func = updaters[frame];
+ if not func then
+ func = function() updateIndicators(frame) end;
+ updaters[frame] = func;
+ end
+ CTimerAfter(0.20, func);
+ end
+ else
+ frame.indBase:Hide();
+ end
+end
+updateAuras = M.UpdateAuras;
+
+function M.UpdateMajorAuras(frame, unit)