v0.7.0: reduced the speed of healing effects
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ public class HealingBomb extends Bomb {
|
|||||||
Char ch = Actor.findChar(i);
|
Char ch = Actor.findChar(i);
|
||||||
if (ch != null){
|
if (ch != null){
|
||||||
//same as a healing dart
|
//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 );
|
PotionOfHealing.cure( ch );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ public class PotionOfHealing extends Potion {
|
|||||||
public void apply( Hero hero ) {
|
public void apply( Hero hero ) {
|
||||||
setKnown();
|
setKnown();
|
||||||
//starts out healing 30 hp, equalizes with hero health total at level 11
|
//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 );
|
cure( hero );
|
||||||
GLog.p( Messages.get(this, "heal") );
|
GLog.p( Messages.get(this, "heal") );
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@ public class HealingDart extends TippedDart {
|
|||||||
public int proc(Char attacker, Char defender, int damage) {
|
public int proc(Char attacker, Char defender, int damage) {
|
||||||
|
|
||||||
//heals 30 hp at base, scaling with enemy HT
|
//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 );
|
PotionOfHealing.cure( defender );
|
||||||
|
|
||||||
if (attacker.alignment == defender.alignment){
|
if (attacker.alignment == defender.alignment){
|
||||||
|
|||||||
Reference in New Issue
Block a user