Browse Source

stop movement on cast

lakebane2
FatBoy-DOTC 2 weeks ago
parent
commit
dcc139043d
  1. 2
      src/engine/gameManager/PowersManager.java

2
src/engine/gameManager/PowersManager.java

@ -165,6 +165,8 @@ public enum PowersManager { @@ -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

Loading…
Cancel
Save