diff options
-rw-r--r-- | events.txt | 1 | ||||
-rw-r--r-- | rules.js | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -28,6 +28,7 @@ EVENT 2 stay_eligible prompt "Remove up to 2 Delhi Sultanate Units in both Mountain Passes and Punjab." space 2 ((s === S_MOUNTAIN_PASSES || s === S_PUNJAB) && has_ds_unit(s)) + prompt "Remove up to 2 Delhi Sultanate Units." piece 2 is_ds_unit(p) && is_piece_in_event_space(p) remove endpiece @@ -5200,6 +5200,7 @@ CODE[2 * 2 + 0] = [ [ vm_stay_eligible ], [ vm_prompt, "Remove up to 2 Delhi Sultanate Units in both Mountain Passes and Punjab." ], [ vm_space, true, 2, 2, (s)=>((s === S_MOUNTAIN_PASSES || s === S_PUNJAB) && has_ds_unit(s)) ], + [ vm_prompt, "Remove up to 2 Delhi Sultanate Units." ], [ vm_piece, false, 2, 2, (p,s)=>is_ds_unit(p) && is_piece_in_event_space(p) ], [ vm_remove ], [ vm_endpiece ], @@ -5282,8 +5283,8 @@ CODE[4 * 2 + 1] = [ CODE[5 * 2 + 0] = [ [ vm_stay_eligible ], [ vm_current, REBEL_FACTIONS ], - [ vm_prompt, ()=>`Replace up to 3 Delhi Sultanate Units with Rebelling ${PIECE_FACTION_TYPE_NAME[game.current][ELITE]}.` ], - [ vm_piece, true, 0, 3, (p,s)=>(is_adjacent_to_city(C_CHITTOR, piece_space(p)) && can_place_piece(piece_space(p), game.current, ELITE) && is_ds_unit(p)) ], + [ vm_prompt, ()=>`Replace up to 2 Delhi Sultanate Units with Rebelling ${PIECE_FACTION_TYPE_NAME[game.current][ELITE]}.` ], + [ vm_piece, true, 0, 2, (p,s)=>(is_adjacent_to_city(C_CHITTOR, piece_space(p)) && can_place_piece(piece_space(p), game.current, ELITE) && is_ds_unit(p)) ], [ vm_set_piece_space ], [ vm_remove ], [ vm_auto_place, false, 0, true, ()=>(game.current), ELITE ], |