if(unit) or (self:GetParent():GetName():match"oUF_Party") then local _, _, _, _, _, duration, timeLeft = UnitAura(unit, index, filter) icon.timeLeft = timeLeft - GetTime() icon:SetScript('OnUpdate', auraUpdateTimeShort) end