This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I've been trying to get my health bars where the health statusbar is a static colour and the deficit is the class colour, but it seems that when I enable "Invert color" to flip the static background with the class coloured health bar for the desired effect, the entire frame ends up class coloured.
I've narrowed this down to an issue with the alpha calculation for the status bar when invert is selected. Line 207 of modules\units.lua (SetBlockColor) is where the colour inversion happens but it seems to reverse the alpha value of the background. This turns a solid background colour (to be used as a solid health bar colour under the invert mode) into a fully transparent colour, meaning just the class coloured background remains.
I'm not sure of the reason for reversing the alpha value, maybe it's a leftover bug from a time when alpha was handled dffferently?
Thanks
There is a workaround for this btw, where you can set the 'override' bar colour to fully transparent, and the code described will reverse that to fully solid :)
To post a comment, please login or register a new account.