unitframes: option to fade health to custom color

This commit is contained in:
shagu
2021-12-13 03:20:28 +01:00
parent c38a55a89e
commit a4796e6c85
3 changed files with 15 additions and 0 deletions
+2
View File
@@ -191,6 +191,7 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("unitframes", nil, "pastel", "1")
pfUI:UpdateConfig("unitframes", nil, "custom", "0")
pfUI:UpdateConfig("unitframes", nil, "customfullhp", "0")
pfUI:UpdateConfig("unitframes", nil, "customfade", "0")
pfUI:UpdateConfig("unitframes", nil, "customcolor", ".2,.2,.2,1")
pfUI:UpdateConfig("unitframes", nil, "custombg", "0")
pfUI:UpdateConfig("unitframes", nil, "custombgcolor", ".5,.2,.2,1")
@@ -451,6 +452,7 @@ function pfUI:LoadConfig()
pfUI:UpdateConfig("unitframes", unit, "defcolor", "1")
pfUI:UpdateConfig("unitframes", unit, "custom", "0")
pfUI:UpdateConfig("unitframes", unit, "customfullhp", "0")
pfUI:UpdateConfig("unitframes", unit, "customfade", "0")
pfUI:UpdateConfig("unitframes", unit, "customcolor", ".2,.2,.2,1")
pfUI:UpdateConfig("unitframes", unit, "custombg", "0")
pfUI:UpdateConfig("unitframes", unit, "custombgcolor", ".5,.2,.2,1")