View Single Post
04/13/15, 09:39 AM   #1
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Attribute visuals (shields) bug

Did you notice that Unit Attrribute Visualizer for shields doesn't work correctly?

You can easily reproduce this bug if you renew two or more shields multiple times - old shields aren't crrectly removed, so your health bar looks like you have permanently applied shield. (Tested with Blazing Shield I + Healing Ward III)

If you take a look into values in PLAYER_ATTRIBUTE_BARS.attributeVisualizer.visualModules, shield value never gets to zero, there are artificial numbers like:
lastValue = 52151
maxValue = -15213
statusMax = 8114 (probably correct)
statusValue = 8114 (probably correct)
value = 52151

I have tried to track shield strength on my own (ShieldInfo addon), but it seems that this is not an UI bug, because event EVENT_UNIT_ATTRIBUTE_VISUAL_UPDATED returns invalid numbers. And also because of invalid shield value events EVENT_UNIT_ATTRIBUTE_VISUAL_ADDED and EVENT_UNIT_ATTRIBUTE_VISUAL_REMOVED are almost never fired (for ATTRIBUTE_VISUAL_POWER_SHIELDING).

Is it really game bug or did I miss something?
  Reply With Quote