summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-23 11:47:06 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit918d358f7870e3e950be6168424ddfd160507b6d (patch)
tree77fc97e4bc1cbf652d70763baef023b5a6c988d3 /rules.js
parent01a272e63afb8a051aa7583ad596bc40f992111a (diff)
downloadandean-abyss-918d358f7870e3e950be6168424ddfd160507b6d.tar.gz
Fix event 53 - add "piece_range" variant for 1-2 optionality.
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 29d8da9..0984f9d 100644
--- a/rules.js
+++ b/rules.js
@@ -9147,7 +9147,7 @@ CODE[53 * 2 + 0] = [
[ vm_endspace ],
[ vm_endif ],
[ vm_prompt, "Move Guerrillas between Departments." ],
- [ vm_piece, false, 2, 2, (p,s)=>is_piece(p, game.current, GUERRILLA) && (s === game.vm.m[0] || s === game.vm.m[1]) ],
+ [ vm_piece, false, 1, 2, (p,s)=>is_piece(p, game.current, GUERRILLA) && (s === game.vm.m[0] || s === game.vm.m[1]) ],
[ vm_if, ()=>piece_space(game.vm.p) === game.vm.m[0] ],
[ vm_set_space, ()=>(game.vm.m[1]) ],
[ vm_else ],