summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-08 08:46:36 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-08 08:46:36 -0400
commita1ee40c4feec98a6b6826803f9e7b8c58e3fe77d (patch)
treed4f6509912c01392dd4673e2ae85942e24ca6004 /rules.js
parent40fdbd29cae0bea9c40c0bb3467521223446fde4 (diff)
downloadvijayanagara-a1ee40c4feec98a6b6826803f9e7b8c58e3fe77d.tar.gz
Fix shaded 5 unit selection
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index aeacbe5..63498aa 100644
--- a/rules.js
+++ b/rules.js
@@ -6026,7 +6026,7 @@ CODE[5 * 2 + 1] = [
[ vm_stay_eligible ],
[ vm_current, DS ],
[ vm_prompt, "Replace up to 3 opposing Units adjacent to Chittor." ],
- [ vm_piece, true, 0, 3, (p,s)=>(is_adjacent_to_city(C_CHITTOR, piece_space(p)) && is_enemy_piece(p)) ],
+ [ vm_piece, true, 0, 3, (p,s)=>(is_adjacent_to_city(C_CHITTOR, piece_space(p)) && is_enemy_unit(p)) ],
[ vm_replace, DS, TROOPS, false, false ],
[ vm_endpiece ],
[ vm_prompt, "Place a Qasbah in Rajput Kingdoms." ],