From cbc16fc5033ae7bd49c053131ec842e8f3445041 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Fri, 7 Sep 2018 18:39:29 +0200 Subject: Change turns to (move?.(attack+switch_wp)?) --- src/battle/struct/btl_battle_action.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle/struct/btl_battle_action.erl b/src/battle/struct/btl_battle_action.erl index 307043a..66c8304 100644 --- a/src/battle/struct/btl_battle_action.erl +++ b/src/battle/struct/btl_battle_action.erl @@ -88,7 +88,7 @@ decode (EncodedAction) -> can_follow (nothing, attack) -> true; can_follow (nothing, switch_weapon) -> true; can_follow (nothing, move) -> true; -can_follow (switch_weapon, attack) -> true; +can_follow (move, switch_weapon) -> true; can_follow (move, attack) -> true; can_follow (_, _) -> false. -- cgit v1.2.3-70-g09d2