From 1e59e2b424c74b1b0e3b8b141113677230d674ca Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 3 May 2024 13:23:15 -0400 Subject: [PATCH] v2.4.0: fixed dash unintentionally not cancelling when targeting chars --- .../shatteredpixeldungeon/actors/buffs/MonkEnergy.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java index b8d793d13..db833733e 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java @@ -506,6 +506,7 @@ public class MonkEnergy extends Buff implements ActionIndicator.Action { if (Actor.findChar(target) != null){ GLog.w(Messages.get(MeleeWeapon.class, "ability_occupied")); + return; } Ballistica dash = new Ballistica(hero.pos, target, Ballistica.PROJECTILE);