diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Healing.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Healing.java index e38854156..9db48a4fd 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Healing.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/Healing.java @@ -33,6 +33,12 @@ public class Healing extends Buff { private float percentHealPerTick; private int flatHealPerTick; + { + //unlike other buffs, this one acts after the hero and takes priority against enemies + //healing is much more useful if you get some of it off before enemies attack + actPriority = 1; + } + @Override public boolean act(){ diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfHealing.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfHealing.java index 34a57b3d9..20b2b79a0 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfHealing.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/potions/PotionOfHealing.java @@ -50,7 +50,7 @@ public class PotionOfHealing extends Potion { public static void heal( Hero hero ) { //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.5f, 0); + Buff.affect( hero, Healing.class ).setHeal((int)(0.8f*hero.HT + 14), 0.333f, 0); Buff.detach( hero, Poison.class ); Buff.detach( hero, Cripple.class ); Buff.detach( hero, Weakness.class );