perpetual movement machine fixed

This commit is contained in:
FatBoy committed 2025-03-18 21:29:01 -05:00
1 parent 5626255b12
commit 537a30710a
2 files changed
+7 -2

No files matched your search

+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.