Related from this thread
http://www.wowinterface.com/forums/s...ad.php?t=54635
I tested with
KuiNameplates,
TidyPlates and
ElvUI and they don't have this problem
While
Plater and
NameplateColors do taint in combat
When setting the r, g, b fields on a healthbar it taints. Omitting it still works but .SetStatusBarColor will then be called everytime, fwiw
https://github.com/Gethe/wow-ui-sour....lua#L396-L406
Lua Code:
hooksecurefunc("CompactUnitFrame_UpdateHealthColor", function(frame)
local r, g, b = 1, 0, 0
if r ~= frame.healthBar.r or g ~= frame.healthBar.g or b ~= frame.healthBar.b then
frame.healthBar:SetStatusBarColor(r, g, b) -- doesnt taint
frame.healthBar.r, frame.healthBar.g, frame.healthBar.b = r, g, b -- taints
end
end)
Hopefully it's fixed now, but please give your feedback otherwise
https://github.com/Ketho/NameplateCo...0a3bcc65da029d