Untitled

 avatar
unknown
plain_text
2 years ago
787 B
7
Indexable
 local affix = aura_env.affix
        local cmap = aura_env.cmap
        local level = aura_env.level 
        local haspb = aura_env.config.splits and aura_env.saved and aura_env.saved[cmap] and aura_env.saved[cmap][level] and aura_env.saved[cmap][level][affix] and aura_env.saved[cmap][level][affix]["finish"]
        if haspb and aura_env.before then       
            local cur = aura_env.finish
            local pb = aura_env.before
            if cur == pb then
                split = "|cFFFFEA00+-0"
            else
                local prefix = cur <= pb and "|cFF00FF00" or "|cFFFF0000"
                local diff = (cur-pb)/1000
                if diff < 0 then diff = diff*-1 end
                split = prefix..aura_env.formattime(diff, true)
            end
        end
Editor is loading...