Units will display a yellow HP bar and emit smoke although their HP is above 75%
#1,040 opened on Jul 16, 2020
Repository metrics
- Stars
- (3,886 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the bug Units will display a yellow HP bar and emit smoke although their HP is above 75%.
To Reproduce Steps to reproduce the behavior:
- Start a skirmish game
- Produce a large army of decently healthed units (e.g. not viper wheels, these may have too little HP to recreate this bug)
- Attack the enemy
- Retreat
- Some units may have yellow health bars and are above 75% health.
Expected behavior Units should not display smoke or a yellow health bar if their HP is not enough to retreat at medium damage.
Screenshots or Videos https://i.imgur.com/ucykiAt.png In this image, the unit has 204/270 HP, which is 75.555555% health. This is above 75% so it does not retreat despite being set to Retreat At Medium Damage, however it is enough to display yellow health and smoke.
(If it was retreating due to medium damage, it would de-assign itself from group 1)
Your System:
- OS: Linux
- Game version: 3.4.0
Additional context
- This issue may also apply to units at red (heavy) damage. For example the units may display red health and not retreat.