v0.3.0: balance changes to ankh, now revives with less HP, but garuntees the hero gets to act afterward.

This commit is contained in:
Evan Debenham 2015-05-20 12:03:57 -04:00 committed by Evan Debenham
parent ec1062a650
commit 716b7ed8fd

View File

@ -1243,7 +1243,11 @@ public class Hero extends Char {
} }
if (ankh != null && ankh.isBlessed()) { 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); new Flare(8, 32).color(0xFFFF66, true).show(sprite, 2f);
CellEmitter.get(this.pos).start(Speck.factory(Speck.LIGHT), 0.2f, 3); CellEmitter.get(this.pos).start(Speck.factory(Speck.LIGHT), 0.2f, 3);