From c97ecaf4342a1073fa87ebe74b40de9bcbaed434 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Sun, 20 Apr 2025 20:06:39 -0400 Subject: Malik all governors --- events.txt | 4 ++-- rules.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/events.txt b/events.txt index bc40dbf..0af6299 100644 --- a/events.txt +++ b/events.txt @@ -4,8 +4,8 @@ EVENT 1 stay_eligible current REBEL_FACTIONS prompt "Move all Governors to Provinces adjacent to Delhi." - piece all (is_governor(p) && !set_has(SPACES[S_DELHI].adjacent, piece_space(p))) - space 1 (set_has(SPACES[S_DELHI].adjacent, s)) + piece all (is_governor(p)) + space 1 (set_has(SPACES[S_DELHI].adjacent, s) && s != S_PUNJAB) move endspace endpiece diff --git a/rules.js b/rules.js index 51abd46..ac96885 100644 --- a/rules.js +++ b/rules.js @@ -5998,8 +5998,8 @@ CODE[1 * 2 + 0] = [ [ vm_stay_eligible ], [ vm_current, REBEL_FACTIONS ], [ vm_prompt, "Move all Governors to Provinces adjacent to Delhi." ], - [ vm_piece, false, 999, 999, (p,s)=>(is_governor(p) && !set_has(SPACES[S_DELHI].adjacent, piece_space(p))) ], - [ vm_space, true, 1, 1, (s)=>(set_has(SPACES[S_DELHI].adjacent, s)) ], + [ vm_piece, false, 999, 999, (p,s)=>(is_governor(p)) ], + [ vm_space, true, 1, 1, (s)=>(set_has(SPACES[S_DELHI].adjacent, s) && s != S_PUNJAB) ], [ vm_move ], [ vm_endspace ], [ vm_endpiece ], -- cgit v1.2.3