v2.3.0: fixed healing still showing status text when HP is full

This commit is contained in:
Evan Debenham
2023-12-17 14:53:29 -05:00
parent c0867ffaaf
commit a2fac80a42

View File

@@ -53,9 +53,10 @@ public class Healing extends Buff {
if (target.HP == target.HT && target instanceof Hero) {
((Hero) target).resting = false;
}
target.sprite.showStatusWithIcon(CharSprite.POSITIVE, Integer.toString(healingThisTick()), FloatingText.HEALING);
}
target.sprite.showStatusWithIcon(CharSprite.POSITIVE, Integer.toString(healingThisTick()), FloatingText.HEALING);
healingLeft -= healingThisTick();
if (healingLeft <= 0){