From 9667b7b1c311f6ffba5e2d6ef4fbe34a11099ec6 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Mon, 24 Mar 2025 09:51:45 -0400 Subject: Fix Event 9 - Demande Obedience --- rules.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 6b60f5a..71401ec 100644 --- a/rules.js +++ b/rules.js @@ -5765,7 +5765,7 @@ CODE[3 * 2 + 1] = [ CODE[4 * 2 + 0] = [ [ vm_stay_eligible ], [ vm_current, REBEL_FACTIONS ], - [ vm_prompt, ()=>`Replace 1 Governor with an Obedient or Rebelling ${PIECE_FACTION_TYPE_NAME[game.current][ELITE]}.` ], + [ vm_prompt, ()=>`Replace a Governor with an Obedient or Rebelling ${PIECE_FACTION_TYPE_NAME[game.current][ELITE]}.` ], [ vm_piece, false, 1, 1, (p,s)=>is_governor(p) ], [ vm_replace, ()=>(game.current), ELITE, false, true ], [ vm_endpiece ], @@ -5903,10 +5903,11 @@ CODE[9 * 2 + 0] = [ CODE[9 * 2 + 1] = [ [ vm_current, DS ], [ vm_resources, false, ()=>(game.current), 3 ], - [ vm_prompt, "Add up to 4 Troops and 1 Governor in one Province adjacent to Warangal." ], + [ vm_prompt, "Place up to 4 Troops and a Governor in a Province adjacent to Warangal and Demand Obedience there." ], [ vm_space, true, 1, 1, (s)=>is_adjacent_to_city(C_WARANGAL, s) ], [ vm_place, true, 1, 4, DS, TROOPS ], [ vm_place, true, 1, 1, DS, ELITE ], + [ vm_demand_obedience ], [ vm_endspace ], [ vm_return ], ] @@ -5990,7 +5991,7 @@ CODE[12 * 2 + 1] = [ [ vm_asm, ()=>(game.vm.count += 1) ], [ vm_endspace ], [ vm_endrepeat ], - [ vm_prompt, "Make a free Attack in one Province adjacent to Warangal." ], + [ vm_prompt, "Make a free Attack in a Province adjacent to Warangal." ], [ vm_space, true, 1, 1, (s)=>(is_adjacent_to_city(C_WARANGAL, s) && can_attack_in_space(s)) ], [ vm_free_attack ], [ vm_endspace ], @@ -6078,7 +6079,7 @@ CODE[15 * 2 + 0] = [ [ vm_replace, BK, ELITE, true, false ], [ vm_set_space, -1 ], [ vm_endpiece ], - [ vm_prompt, "Remove a Tributary marker in one Province." ], + [ vm_prompt, "Remove a Tributary marker in a Province." ], [ vm_space, true, 0, 1, (s)=>is_tributary(s) && set_has(game.vm.m, s) ], [ vm_remove_tributary ], [ vm_endspace ], @@ -6153,7 +6154,7 @@ CODE[17 * 2 + 0] = [ CODE[17 * 2 + 1] = [ [ vm_prompt, "Remove a Fort and up to 2 Amirs from one Province." ], [ vm_space, true, 0, 1, (s)=>has_piece_faction(s, BK) ], - [ vm_prompt, "Remove 1 Fort from selected Province." ], + [ vm_prompt, "Remove a Fort from selected Province." ], [ vm_piece, true, 0, 1, (p,s)=>is_piece_in_event_space(p) && is_fort(p) ], [ vm_remove ], [ vm_endpiece ], @@ -6235,7 +6236,7 @@ CODE[20 * 2 + 0] = [ // SHADED 20 CODE[20 * 2 + 1] = [ [ vm_current, DS ], - [ vm_prompt, "In Orissa, remove an enemy Structure, add 1 Governor, 1 Qasbah, 2 Troops and a Tributary marker." ], + [ vm_prompt, "In Orissa, remove an enemy Structure, add a Governor, a Qasbah, 2 Troops and a Tributary marker." ], [ vm_space, true, 1, 1, (s)=>(s === S_ORISSA) ], [ vm_piece, false, 0, 1, (p,s)=>((is_temple(p) || is_fort(p)) && is_piece_in_event_space(p)) ], [ vm_remove ], @@ -6284,7 +6285,7 @@ CODE[22 * 2 + 0] = [ CODE[22 * 2 + 1] = [ [ vm_stay_eligible ], [ vm_current, DS ], - [ vm_prompt, "Place 1 Troops in one space." ], + [ vm_prompt, "Place a Troop in one space." ], [ vm_space, true, 0, 1, (s)=>can_place_piece(s, DS, TROOPS) ], [ vm_place, false, 1, 1, DS, TROOPS ], [ vm_endspace ], -- cgit v1.2.3