Shield bar cannot display if turn on the `invert Growth` and `turn Axis` of health bar
VuhDo version 3.117 retail
Summary of the issue:
I found that the shield bar display at wrong position if the invert Growth
and turn Axis
of health bar is turn on.
I tried to debug this issue , in VuhDoPanelRedraw.lua
line 792:
-- Invert Growth
tIsInverted = VUHDO_INDICATOR_CONFIG["CUSTOM"]["HEALTH_BAR"]["invertGrowth"];
VUHDO_getHealthBar(aButton, 1):SetIsInverted(tIsInverted);
VUHDO_getHealthBar(aButton, 5):SetIsInverted(tIsInverted);
VUHDO_getHealthBar(aButton, 6):SetIsInverted(tIsInverted);
VUHDO_getHealthBar(aButton, 14):SetIsInverted(tIsInverted);
The shield bar can't be inverted when invertGrowth
is true. I tried to fix that like this
-- Invert Growth
tIsInverted = VUHDO_INDICATOR_CONFIG["CUSTOM"]["HEALTH_BAR"]["invertGrowth"];
VUHDO_getHealthBar(aButton, 1):SetIsInverted(tIsInverted);
VUHDO_getHealthBar(aButton, 5):SetIsInverted(tIsInverted);
VUHDO_getHealthBar(aButton, 6):SetIsInverted(tIsInverted);
VUHDO_getHealthBar(aButton, 14):SetIsInverted(tIsInverted);
VUHDO_getHealthBar(aButton, 19):SetIsInverted(tIsInverted);
But the shield bar cannot display. I tried to change the opacity of the health bar, and I found that the health bar cover the shield bar. How to change the display level of the shield bar?