From b6ce67cf71142bfe04b25f11b3958001425b0c37 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Thu, 17 Apr 2025 09:07:40 -0400 Subject: Fix Event 33 units --- events.txt | 2 +- rules.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/events.txt b/events.txt index 0ec50d0..151d4f4 100644 --- a/events.txt +++ b/events.txt @@ -744,7 +744,7 @@ EVENT 33 stay_eligible current (has_majority_goa()) prompt "Remove up to 3 opposing Units adjacent to Goa." - piece_opt 3 (is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_piece(p)) + piece_opt 3 (is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_unit(p)) summary_remove endpiece pop_summary diff --git a/rules.js b/rules.js index 94951da..1d776a0 100644 --- a/rules.js +++ b/rules.js @@ -6904,7 +6904,7 @@ CODE[33 * 2 + 0] = [ [ vm_stay_eligible ], [ vm_current, ()=>(has_majority_goa()) ], [ vm_prompt, "Remove up to 3 opposing Units adjacent to Goa." ], - [ vm_piece, false, 0, 3, (p,s)=>(is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_piece(p)) ], + [ vm_piece, false, 0, 3, (p,s)=>(is_adjacent_to_city(C_GOA, piece_space(p)) && is_enemy_unit(p)) ], [ vm_summary_remove ], [ vm_endpiece ], [ vm_pop_summary ], -- cgit v1.2.3