From 4cf830771f4081592783118be4033c0d6e494743 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 23 Apr 2023 04:20:38 +0300 Subject: [PATCH 19/19] civ/2: Stop Great Wall from preventing Fortify bonus outside cities Great Wall affects cities only. Reported by ihnatus See osdn #47907 Signed-off-by: Marko Lindqvist --- data/civ1/effects.ruleset | 1 - data/civ2/effects.ruleset | 17 ++++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/data/civ1/effects.ruleset b/data/civ1/effects.ruleset index 3c81badde9..13498e9903 100644 --- a/data/civ1/effects.ruleset +++ b/data/civ1/effects.ruleset @@ -1347,7 +1347,6 @@ reqs = { "type", "name", "range", "present" "Activity", "Fortified", "Local", TRUE "CityTile", "Center", "Local", FALSE - "Building", "Great Wall", "Player", FALSE "Extra", "Fortress", "Local", FALSE } diff --git a/data/civ2/effects.ruleset b/data/civ2/effects.ruleset index ef1a4235b6..e9e0f9f0af 100644 --- a/data/civ2/effects.ruleset +++ b/data/civ2/effects.ruleset @@ -1197,7 +1197,6 @@ reqs = { "type", "name", "range", "present" "Activity", "Fortified", "Local", TRUE "CityTile", "Center", "Local", FALSE - "Building", "Great Wall", "Player", FALSE "Extra", "Fortress", "Local", FALSE } @@ -1850,21 +1849,21 @@ reqs = type = "Defend_Bonus" value = 200 reqs = - { "type", "name", "range", "present" - "Building", "Great Wall", "Player", TRUE - "UnitClass", "Land", "Local", TRUE - "CityTile", "Center", "Local", TRUE - "UnitType", "Howitzer", "Local", FALSE + { "type", "name", "range", "present" + "Building", "Great Wall", "Player", TRUE + "UnitClass", "Land", "Local", TRUE + "CityTile", "Center", "Local", TRUE + "UnitType", "Howitzer", "Local", FALSE } [effect_great_wall_0] type = "Defend_Bonus" value = 200 reqs = - { "type", "name", "range" - "Building", "Great Wall", "Player" + { "type", "name", "range" + "Building", "Great Wall", "Player" "UnitClass", "Helicopter", "Local" - "CityTile", "Center", "Local" + "CityTile", "Center", "Local" } [effect_great_wall_1] -- 2.39.2