v0.7.0: reduced the speed of healing effects
This commit is contained in:
parent
f8dfd11a8d
commit
56d7858e54
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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") );
|
||||
}
|
||||
|
|
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user