v0.3.0: improved previous hunger mechanics changes, now better coded & clarified
This commit is contained in:
@@ -423,7 +423,7 @@ public class Hero extends Char {
|
||||
if (curAction == null) {
|
||||
|
||||
if (restoreHealth) {
|
||||
if (isStarving() || HP >= HT) {
|
||||
if (isStarving() || HP >= HT || Dungeon.level.locked) {
|
||||
restoreHealth = false;
|
||||
} else {
|
||||
spend( TIME_TO_REST ); next();
|
||||
|
||||
Reference in New Issue
Block a user