mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 17:07:40 +00:00
ru:: changes to toughness now affect current HP
This commit is contained in:
@@ -52,8 +52,11 @@ void man::act() {
|
||||
stable_where = where;
|
||||
}
|
||||
|
||||
auto h = max_hp();
|
||||
current = next;
|
||||
next.reset();
|
||||
if(h != max_hp())
|
||||
hp = randround(1. * hp * max_hp() / h);
|
||||
auto dat = get_dat();
|
||||
|
||||
if(on_floor) on_floor_when = gframeid;
|
||||
|
Reference in New Issue
Block a user