Author: cazfi Date: Thu Apr 7 21:11:16 2016 New Revision: 32312 URL: http://svn.gna.org/viewcvs/freeciv?rev=32312&view=rev Log: Made City Walls and Great Wall effective against Big Land units in experimental ruleset.
Reported by Caedo <caedo> See bug #24522 Modified: trunk/data/experimental/effects.ruleset Modified: trunk/data/experimental/effects.ruleset URL: http://svn.gna.org/viewcvs/freeciv/trunk/data/experimental/effects.ruleset?rev=32312&r1=32311&r2=32312&view=diff ============================================================================== --- trunk/data/experimental/effects.ruleset (original) +++ trunk/data/experimental/effects.ruleset Thu Apr 7 21:11:16 2016 @@ -1057,7 +1057,7 @@ "Building", "Michelangelo's Chapel", "Player", FALSE } -[effect_city_walls] +[effect_city_walls_land_defense] type = "Defend_Bonus" value = 200 reqs = @@ -1065,10 +1065,20 @@ "Building", "City Walls", "City", TRUE "UnitClass", "Land", "Local", TRUE "Building", "Great Wall", "Player", FALSE + } + +[effect_city_walls_big_land_defense] +type = "Defend_Bonus" +value = 200 +reqs = + { "type", "name", "range", "present" + "Building", "City Walls", "City", TRUE + "UnitClass", "Big Land", "Local", TRUE + "Building", "Great Wall", "Player", FALSE "UnitType", "Howitzer", "Local", FALSE } -[effect_city_walls_0] +[effect_city_walls_heli_defense] type = "Defend_Bonus" value = 200 reqs = @@ -2029,18 +2039,28 @@ "Building", "Great Library", "Player" } -[effect_great_wall] +[effect_great_wall_land_defense] type = "Defend_Bonus" value = 200 reqs = + { "type", "name", "range" + "Building", "Great Wall", "Player" + "UnitClass", "Land", "Local" + "CityTile", "Center", "Local" + } + +[effect_great_wall_big_land_defense] +type = "Defend_Bonus" +value = 200 +reqs = { "type", "name", "range", "present" "Building", "Great Wall", "Player", TRUE - "UnitClass", "Land", "Local", TRUE + "UnitClass", "Big Land", "Local", TRUE "CityTile", "Center", "Local", TRUE "UnitType", "Howitzer", "Local", FALSE } -[effect_great_wall_0] +[effect_great_wall_heli_defense] type = "Defend_Bonus" value = 200 reqs = _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits