From deec9d2984bf72d2902d94eb797dce64c1bff648 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 6 May 2016 16:41:01 -0400 Subject: [PATCH] v0.3.5a: fixed dieing to berserk with a blessed ankh recording a rankings entry when it shouldn't --- .../shatteredpixeldungeon/actors/buffs/Berserk.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Berserk.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Berserk.java index 9db01290e..680b54cf1 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Berserk.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Berserk.java @@ -50,7 +50,7 @@ public class Berserk extends Buff { target.SHLD -= Math.min(target.SHLD, 2); if (target.SHLD == 0) { target.die(this); - Dungeon.fail(this.getClass()); + if (!target.isAlive()) Dungeon.fail(this.getClass()); } } else { state = State.EXHAUSTED;