v0.3.5a: fixed dieing to berserk with a blessed ankh recording a rankings entry when it shouldn't

This commit is contained in:
Evan Debenham 2016-05-06 16:41:01 -04:00
parent f898df2c22
commit deec9d2984

View File

@ -50,7 +50,7 @@ public class Berserk extends Buff {
target.SHLD -= Math.min(target.SHLD, 2); target.SHLD -= Math.min(target.SHLD, 2);
if (target.SHLD == 0) { if (target.SHLD == 0) {
target.die(this); target.die(this);
Dungeon.fail(this.getClass()); if (!target.isAlive()) Dungeon.fail(this.getClass());
} }
} else { } else {
state = State.EXHAUSTED; state = State.EXHAUSTED;