mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 11:20:01 +00:00
cooldown: change color for cd lower than 3 sec
This commit is contained in:
@@ -30,7 +30,9 @@ pfUI:RegisterModule("cooldown", function ()
|
||||
if remaining >= 0 then
|
||||
local r, g, b, a = 1, 1, 1, 1
|
||||
local unit = ""
|
||||
local color = "|cffffffff"
|
||||
if remaining <= 3 then
|
||||
r,g,b,a = strsplit(",", C.appearance.cd.seccolor)
|
||||
end
|
||||
if remaining > 99 then
|
||||
remaining = remaining / 60
|
||||
unit = "m"
|
||||
|
||||
Reference in New Issue
Block a user