From 79f819aeac154ceedd18efebef590ea85334634c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 19 Nov 2022 11:00:13 -0500 Subject: [PATCH] v2.0.0: fixed exploit where damaging DM-300 early would skip first phase --- .../shatteredpixeldungeon/actors/mobs/DM300.java | 4 ++++ 1 file changed, 4 insertions(+) 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 206103935..6f824c78a 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 @@ -462,6 +462,10 @@ public class DM300 extends Mob { @Override public void damage(int dmg, Object src) { + if (!BossHealthBar.isAssigned()){ + notice(); + } + int preHP = HP; super.damage(dmg, src); if (isInvulnerable(src.getClass())){