mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 18:36:01 +00:00
unitframes: correct typo in custom color fading
This commit is contained in:
+2
-2
@@ -1906,8 +1906,8 @@ function pfUI.uf:RefreshUnit(unit, component)
|
||||
local cr, cg, cb, ca = pfUI.api.strsplit(",", customcolor)
|
||||
|
||||
r = (cr*perc) + (r*(1-perc))
|
||||
g = (cr*perc) + (g*(1-perc))
|
||||
b = (cr*perc) + (b*(1-perc))
|
||||
g = (cg*perc) + (g*(1-perc))
|
||||
b = (cb*perc) + (b*(1-perc))
|
||||
end
|
||||
|
||||
unit.hp.bar:SetStatusBarColor(r, g, b, a)
|
||||
|
||||
Reference in New Issue
Block a user