From c8e7350e3b04def795ec473efbef878406def747 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 25 Sep 2024 13:59:53 -0400 Subject: [PATCH] v2.5.3: DM-300 can no longer use an ability right out of supercharge --- .../shatteredpixeldungeon/actors/mobs/DM300.java | 3 +++ 1 file changed, 3 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 50d1b22ff..c0fc5a4d9 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 @@ -535,6 +535,9 @@ public class DM300 extends Mob { supercharged = false; ((DM300Sprite)sprite).updateChargeState(false); + //adjust turns since last ability to prevent DM immediately using an ability when charge ends + turnsSinceLastAbility = Math.max(turnsSinceLastAbility, MIN_COOLDOWN-3); + if (pylonsActivated < totalPylonsToActivate()){ yell(Messages.get(this, "charge_lost")); } else {