v2.4.1: fixed recent errors if DM-300 took massive amounts of damage

This commit is contained in:
Evan Debenham
2024-05-16 14:55:57 -04:00
parent f948a6f6c4
commit 4b836591bf

View File

@@ -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();
}