From dded8c981a894deb24063570f1c84d564014ff7c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 13 May 2024 12:45:26 -0400 Subject: [PATCH] v2.4.0: fixed recent DM-300 change causing an extra pylon activation --- .../shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java index f64f0e5b3..6b2171e6f 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/DM300.java @@ -489,7 +489,7 @@ public class DM300 extends Mob { threshold = HT / 3 * (2 - pylonsActivated); } - if (HP <= threshold){ + if (HP <= threshold && HP > 0){ HP = threshold; supercharge(); }