v0.7.0: reduced the speed of healing effects

This commit is contained in:
Evan Debenham 2018-07-25 00:06:58 -04:00
parent f8dfd11a8d
commit 56d7858e54
3 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ public class HealingBomb extends Bomb {
Char ch = Actor.findChar(i);
if (ch != null){
//same as a healing dart
Buff.affect( ch, Healing.class ).setHeal((int)(0.5f*ch.HT + 30), 0.333f, 0);
Buff.affect( ch, Healing.class ).setHeal((int)(0.5f*ch.HT + 30), 0.25f, 0);
PotionOfHealing.cure( ch );
}
}

View File

@ -44,7 +44,7 @@ public class PotionOfHealing extends Potion {
public void apply( Hero hero ) {
setKnown();
//starts out healing 30 hp, equalizes with hero health total at level 11
Buff.affect( hero, Healing.class ).setHeal((int)(0.8f*hero.HT + 14), 0.333f, 0);
Buff.affect( hero, Healing.class ).setHeal((int)(0.8f*hero.HT + 14), 0.25f, 0);
cure( hero );
GLog.p( Messages.get(this, "heal") );
}

View File

@ -37,7 +37,7 @@ public class HealingDart extends TippedDart {
public int proc(Char attacker, Char defender, int damage) {
//heals 30 hp at base, scaling with enemy HT
Buff.affect( defender, Healing.class ).setHeal((int)(0.5f*defender.HT + 30), 0.333f, 0);
Buff.affect( defender, Healing.class ).setHeal((int)(0.5f*defender.HT + 30), 0.25f, 0);
PotionOfHealing.cure( defender );
if (attacker.alignment == defender.alignment){