Пример #1
0
  @Override
  protected boolean affectHero(Hero hero) {

    Sample.INSTANCE.play(Assets.SND_DRINK);

    PotionOfHealing.heal(hero);
    hero.belongings.uncurseEquipped();
    ((Hunger) hero.buff(Hunger.class)).satisfy(Hunger.STARVING);

    CellEmitter.get(pos).start(ShaftParticle.FACTORY, 0.2f, 3);

    Dungeon.hero.interrupt();

    GLog.p(TXT_PROCCED);

    Journal.remove(Feature.WELL_OF_HEALTH);

    return true;
  }
 @Override
 public void apply(Hero hero) {
   setKnown();
   heal(Dungeon.hero);
   GLog.p("Your wounds heal completely.");
 }