From a11604c72048750639080b25f1ca285d866d7379 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 8 Dec 2023 15:42:16 -0500 Subject: [PATCH] v2.3.0: clarified conditions in fixed rot lasher healing text --- .../shatteredpixeldungeon/actors/mobs/RotLasher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RotLasher.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RotLasher.java index aa0de2ce7..7cf871c96 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RotLasher.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/RotLasher.java @@ -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); }