From dcc139043df9f63e0e7273f384216f4389bc76cf Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 3 Jan 2025 18:57:56 -0600 Subject: [PATCH] stop movement on cast --- src/engine/gameManager/PowersManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/gameManager/PowersManager.java b/src/engine/gameManager/PowersManager.java index 851b2b97..99f75ffe 100644 --- a/src/engine/gameManager/PowersManager.java +++ b/src/engine/gameManager/PowersManager.java @@ -165,6 +165,8 @@ public enum PowersManager { PlayerCharacter pc = SessionManager.getPlayerCharacter(origin); CombatManager.toggleSit(false,origin); + if(pc.isMoving()) + pc.stopMovement(pc.getMovementLoc()); if (usePowerA(msg, origin, sendCastToSelf)) { // Cast failed for some reason, reset timer