Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2666 closed defect (fixed)

HeroHitOverlay working incorrectly with healing

Reported by: Yves Owned by: sanderd17
Priority: Should Have Milestone: Alpha 17
Component: UI & Simulation Keywords:
Cc: Patch:

Description

g_previousHeroHitPoints in session.js doesn't get updated when you heal your hero. This causes the blinking overlay to only be activated when the health points fall below the level before healing. So if you manage to pull back the hero from an attack with 2 HP left and then restore health to 100%, the blinking overlay will be triggered if HP goes below 2. In my opinion the calculation is generally broken when considering healing and should be improved.

Attachments (1)

fix_g_previousHeroHitPoints.patch (674 bytes ) - added by Adi 10 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by sanderd17, 10 years ago

Owner: set to sanderd17
Resolution: fixed
Status: newclosed

In 15510:

Fix the hero flickering overlay after healing. Fixes #2666. Patch by Adrian

comment:2 by sanderd17, 10 years ago

Keywords: simple removed
Milestone: BacklogAlpha 17
Note: See TracTickets for help on using tickets.