Always the same, after I asked I find the answer myself:
Lua Code:
function UNITS:AdditionalPower_UpdateColor(_, unit)
if (unit) then
local self = self.AdditionalPower;
local _, powerToken = UNITS:UnitPowerType(unit);
if (powerToken == ADDITIONAL_POWER_BAR_NAME) then
self:Hide();
else
local color = Colors:GetColorForPower(ADDITIONAL_POWER_BAR_NAME);
self:SetStatusBarColor(color.r, color.g, color.b, color.a);
end
end
end
Once again thank you for the update guide