summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-06-10 00:14:27 +0200
committerTor Andersson <tor@ccxvii.net>2023-06-10 00:14:27 +0200
commit84781b945439f143396a49f0df5cbf56bc0100ca (patch)
tree993ddc4722698d66a45e661512da75fbcc086b73 /rules.js
parentdce4ca258b4b63dc520b2a7ce3497c00f8716142 (diff)
downloadandean-abyss-84781b945439f143396a49f0df5cbf56bc0100ca.tar.gz
Fix stacking check for Mono Jojoy.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index fe56e65..d84f14b 100644
--- a/rules.js
+++ b/rules.js
@@ -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 ],