diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-06-10 00:14:27 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-06-10 00:14:27 +0200 |
commit | 84781b945439f143396a49f0df5cbf56bc0100ca (patch) | |
tree | 993ddc4722698d66a45e661512da75fbcc086b73 | |
parent | dce4ca258b4b63dc520b2a7ce3497c00f8716142 (diff) | |
download | andean-abyss-84781b945439f143396a49f0df5cbf56bc0100ca.tar.gz |
Fix stacking check for Mono Jojoy.
-rw-r--r-- | events.txt | 2 | ||||
-rw-r--r-- | rules.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -236,7 +236,7 @@ EVENT 20 prompt "Move up to 6 FARC Guerillas into adjacent spaces." piece_undo_opt 6 is_farc_guerrilla(p) prompt "Move FARC Guerilla into an adjacent space." - space_no_undo 1 is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, game.current) + space_no_undo 1 is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, FARC) move endspace endpiece @@ -8779,7 +8779,7 @@ CODE[20 * 2 + 0] = [ [ vm_prompt, "Move up to 6 FARC Guerillas into adjacent spaces." ], [ vm_piece, true, 0, 6, (p,s)=>is_farc_guerrilla(p) ], [ vm_prompt, "Move FARC Guerilla into an adjacent space." ], - [ vm_space, false, 1, 1, (s)=>is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, game.current) ], + [ vm_space, false, 1, 1, (s)=>is_adjacent(s, piece_space(game.vm.p)) && can_stack_any(s, FARC) ], [ vm_move ], [ vm_endspace ], [ vm_endpiece ], |