v0.9.3a: fixed healing wells not fully healing if hero had cursed might

This commit is contained in:
Evan Debenham 2021-06-11 21:06:06 -04:00
parent 082c2393cb
commit 2d8305ed5b

View File

@ -49,13 +49,13 @@ public class WaterOfHealth extends WellWater {
Sample.INSTANCE.play( Assets.Sounds.DRINK ); Sample.INSTANCE.play( Assets.Sounds.DRINK );
hero.HP = hero.HT;
hero.sprite.emitter().start( Speck.factory( Speck.HEALING ), 0.4f, 4 );
PotionOfHealing.cure( hero ); PotionOfHealing.cure( hero );
hero.belongings.uncurseEquipped(); hero.belongings.uncurseEquipped();
hero.buff( Hunger.class ).satisfy( Hunger.STARVING ); hero.buff( Hunger.class ).satisfy( Hunger.STARVING );
hero.HP = hero.HT;
hero.sprite.emitter().start( Speck.factory( Speck.HEALING ), 0.4f, 4 );
CellEmitter.get( hero.pos ).start( ShaftParticle.FACTORY, 0.2f, 3 ); CellEmitter.get( hero.pos ).start( ShaftParticle.FACTORY, 0.2f, 3 );
Dungeon.hero.interrupt(); Dungeon.hero.interrupt();