v0.3.1: refactored resting based on new functionality. Hitting full HP now interrupts resting.
This commit is contained in:
@@ -88,7 +88,7 @@ public class Hunger extends Buff implements Hero.Doom {
|
||||
if (newLevel >= STARVING) {
|
||||
|
||||
GLog.n( TXT_STARVING );
|
||||
hero.restoreHealth = false;
|
||||
hero.resting = false;
|
||||
hero.damage( 1, this );
|
||||
statusUpdated = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user