From 95fa884beff3e9d6423f5a8d159078db154e4134 Mon Sep 17 00:00:00 2001 From: keshav2010 Date: Sat, 1 Jun 2024 01:39:55 +0530 Subject: [PATCH] always prioritise move command over defend --- .../soldier-state-machine/SoldierStateMachine.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gameserver/stateMachines/soldier-state-machine/SoldierStateMachine.json b/gameserver/stateMachines/soldier-state-machine/SoldierStateMachine.json index 7b03d39..3d67a58 100644 --- a/gameserver/stateMachines/soldier-state-machine/SoldierStateMachine.json +++ b/gameserver/stateMachines/soldier-state-machine/SoldierStateMachine.json @@ -31,10 +31,6 @@ "Attack": { "target": "Attack", "description": "Triggered when Soldier.attackUnit() function is invoked in stateManager." - }, - "PlayerAttacked": { - "target": "Defend", - "description": "Called when attacker invokes defender's attackMe() method. We can be sure that whenever this event is fired, both attacker and defender has their target unit set." } } },