v2.3.0: clarified conditions in fixed rot lasher healing text

This commit is contained in:
Evan Debenham
2023-12-08 15:42:16 -05:00
parent 3dc39de061
commit a11604c720
@@ -55,7 +55,7 @@ public class RotLasher extends Mob {
@Override
protected boolean act() {
if (HP < HT && enemy == null || !Dungeon.level.adjacent(pos, enemy.pos)) {
if (HP < HT && (enemy == null || !Dungeon.level.adjacent(pos, enemy.pos))) {
sprite.showStatusWithIcon(CharSprite.POSITIVE, String.valueOf(Math.min(5, HT - HP)), FloatingText.HEALING);
HP = Math.min(HT, HP + 5);
}