diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-08 08:46:36 -0400 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2025-04-08 08:46:36 -0400 |
commit | a1ee40c4feec98a6b6826803f9e7b8c58e3fe77d (patch) | |
tree | d4f6509912c01392dd4673e2ae85942e24ca6004 | |
parent | 40fdbd29cae0bea9c40c0bb3467521223446fde4 (diff) | |
download | vijayanagara-a1ee40c4feec98a6b6826803f9e7b8c58e3fe77d.tar.gz |
Fix shaded 5 unit selection
-rw-r--r-- | events.txt | 2 | ||||
-rw-r--r-- | rules.js | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -112,7 +112,7 @@ SHADED 5 stay_eligible current DS prompt "Replace up to 3 opposing Units adjacent to Chittor." - piece_undo_opt 3 (is_adjacent_to_city(C_CHITTOR, piece_space(p)) && is_enemy_piece(p)) + piece_undo_opt 3 (is_adjacent_to_city(C_CHITTOR, piece_space(p)) && is_enemy_unit(p)) replace DS TROOPS endpiece prompt "Place a Qasbah in Rajput Kingdoms." @@ -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." ], |