From 89231ed0521637619335925b02cc8726388e1fd9 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Fri, 18 Apr 2025 13:11:19 -0400 Subject: Fix Shaded 1 Andhra --- events.txt | 4 ++-- rules.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/events.txt b/events.txt index f4e5e16..bc40dbf 100644 --- a/events.txt +++ b/events.txt @@ -15,7 +15,7 @@ SHADED 1 stay_eligible current DS prompt "Select a space to move Units into and Attack for free." - space 1 s + space 1 s>=0 prompt `Move up to ${8-game.vm.pl.length} units into the selected space.` mark_space move_to (game.vm.s) (is_ds_unit(p) && is_piece_on_map(p) && !is_piece_in_event_space(p) && game.vm.pl.length < 8) @@ -816,7 +816,7 @@ SUCC 0 log_succ BK "Military labor market thrives." gain_cavalry (game.inf[BK] + count_pieces_on_map(BK, DISC)) force_current VE - prompt "Gain resources equal to Influence and Temples." + prompt "Gain Resources equal to Influence and Temples." log_succ VE "Temple towns emerge anew." resources VE (game.inf[VE] + count_pieces_on_map(VE, DISC)) diff --git a/rules.js b/rules.js index 8261cc9..0d7993c 100644 --- a/rules.js +++ b/rules.js @@ -6002,7 +6002,7 @@ CODE[1 * 2 + 1] = [ [ vm_stay_eligible ], [ vm_current, DS ], [ vm_prompt, "Select a space to move Units into and Attack for free." ], - [ vm_space, true, 1, 1, (s)=>s ], + [ vm_space, true, 1, 1, (s)=>s>=0 ], [ vm_prompt, ()=>`Move up to ${8-game.vm.pl.length} units into the selected space.` ], [ vm_mark_space ], [ vm_move_to, ()=>(game.vm.s), (p,s)=>(is_ds_unit(p) && is_piece_on_map(p) && !is_piece_in_event_space(p) && game.vm.pl.length < 8) ], -- cgit v1.2.3