From 716b7ed8fd4230df7f968bbfd69dc31f221d1ec1 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 20 May 2015 12:03:57 -0400 Subject: [PATCH] v0.3.0: balance changes to ankh, now revives with less HP, but garuntees the hero gets to act afterward. --- .../shatteredpixeldungeon/actors/hero/Hero.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java index c76683c38..33778b606 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Hero.java @@ -1243,7 +1243,11 @@ public class Hero extends Char { } if (ankh != null && ankh.isBlessed()) { - this.HP = HT; + this.HP = HT/4; + + //ensures that you'll get to act first in almost any case, to prevent reviving and then instantly dieing again. + Buff.detach(this, Paralysis.class); + spend(-cooldown()); new Flare(8, 32).color(0xFFFF66, true).show(sprite, 2f); CellEmitter.get(this.pos).start(Speck.factory(Speck.LIGHT), 0.2f, 3);