From 0dfadb71724d007a1345992c79caf38f87abc5f6 Mon Sep 17 00:00:00 2001 From: Joël Simoneau Date: Fri, 18 Apr 2025 07:11:28 -0400 Subject: Fix Event 8 not enough troops --- events.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'events.txt') diff --git a/events.txt b/events.txt index 151d4f4..f4e5e16 100644 --- a/events.txt +++ b/events.txt @@ -173,11 +173,13 @@ SHADED 8 current DS prompt `In each Province adjacent to Devagiri and/or Gulbarga, Govern for free ignoring location requirements and place a Troop.` asm game.vm.ignore_loc_req = true - space_opt all (is_adjacent_to_city(C_DEVAGIRI, s) || is_adjacent_to_city(C_GULBARGA, s)) && (can_govern_in_space(s) || can_place_piece(s, game.current, TROOPS)) + space_opt all (is_adjacent_to_city(C_DEVAGIRI, s) || is_adjacent_to_city(C_GULBARGA, s)) && (can_govern_in_space(s) || can_place_piece(s, DS, TROOPS)) if (can_govern_in_space(game.vm.s)) free_govern_in_space_skip endif - place_opt 1 DS TROOPS + if (can_place_piece(game.vm.s, DS, TROOPS)) + place_opt 1 DS TROOPS + endif endspace EVENT 9 -- cgit v1.2.3