summaryrefslogtreecommitdiff
path: root/events.txt
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-06-18 20:29:27 +0200
committerTor Andersson <tor@ccxvii.net>2023-06-18 20:30:23 +0200
commite1db7534f6360c7b83131e049e913038d595080e (patch)
tree9cfa1fe9083e820da8495a1f83005bee7a8b7773 /events.txt
parent3295444f1ae740d6fd7eb5a268aaa3f77849f9a5 (diff)
downloadandean-abyss-e1db7534f6360c7b83131e049e913038d595080e.tar.gz
Fix stacking check for Riverines event.
Check the stacking of the _destination_ space not the source space.
Diffstat (limited to 'events.txt')
-rw-r--r--events.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/events.txt b/events.txt
index 13a6d43..be3315b 100644
--- a/events.txt
+++ b/events.txt
@@ -1156,13 +1156,13 @@ EVENT 69
space 1 game.vm.m && (s !== game.vm.m[0]) && is_within_adjacent_depts(s, game.vm.m[0], 3) && can_stack_any(s, game.current)
if game.current === GOVT
prompt "Move cubes to destination."
- piece_undo_opt all (s === game.vm.m[0]) && is_cube(p) && can_stack_any(s, GOVT)
+ piece_undo_opt all (s === game.vm.m[0]) && is_cube(p) && can_stack_any(game.vm.s, GOVT)
move
endpiece
free_train_sweep_assault
else
prompt "Move Guerrillas to destination."
- piece_undo_opt all (s === game.vm.m[0]) && is_piece(p, game.current, GUERRILLA) && can_stack_any(s, game.current)
+ piece_undo_opt all (s === game.vm.m[0]) && is_piece(p, game.current, GUERRILLA) && can_stack_any(game.vm.s, game.current)
move
endpiece
free_rally_attack_terror