Originally Posted by Fizzlemizz
local _,power_name = UnitPowerType(unit)
local r,g,b = PowerColor(power_name)
local max = MaxPower(unit)
if max > 0 then
return "|cff%02x%02x%02x%s|r",r,g,b,Power(unit)
end
|
i think that's it ;O thank you so much for the assistance m8, if i can do anything for you!