-- TICKER_200 function() for _, unit in ipairs(Units) do if UnitExists(unit) and not UnitIsDeadOrGhost(unit) and HasDispellableDebuff(unit) then local unitName = UnitName(unit) local frame = GetFrameFromName(unitName) if frame == nil then print("Frame not found for " .. unitName) -- Unexpected behavior, bail! return end print("Dispel " .. unitName) MakeFrameGlow(frame) end end end