perpetual movement machine fixed

This commit is contained in:
2025-03-18 21:29:01 -05:00
parent 5626255b12
commit 537a30710a
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -432,7 +432,10 @@ public enum CombatManager {
//Source can attack.
//NOTE Don't 'return;' beyond this point until timer created
if(abstractCharacter.getObjectType().equals(GameObjectType.PlayerCharacter)){
PlayerCharacter pc = (PlayerCharacter)abstractCharacter;
pc.updateMovementState();
}
boolean attackFailure = (wb != null) && (wb.getRange() > 35f) && abstractCharacter.isMoving();
//Target can't attack on move with ranged weapons.