summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-17 09:07:40 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-17 09:07:40 -0400
commitb6ce67cf71142bfe04b25f11b3958001425b0c37 (patch)
treee90b5b54e8f6ca0f1a355039301ed783e3e9468d
parentb579ce5515ea4320895f87243dafcf2a2af26e20 (diff)
downloadvijayanagara-b6ce67cf71142bfe04b25f11b3958001425b0c37.tar.gz
Fix Event 33 units
-rw-r--r--events.txt2
-rw-r--r--rules.js2
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 ],