From 4b836591bfd8ace2a845934d6b414c93e95ac407 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Thu, 16 May 2024 14:55:57 -0400 Subject: [PATCH] v2.4.1: fixed recent errors if DM-300 took massive amounts of damage --- .../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 6b2171e6f..dae5dc08f 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 && HP > 0){ + if (HP <= threshold && threshold > 0){ HP = threshold; supercharge(); }