Author: cazfi Date: Thu Apr 7 21:11:24 2016 New Revision: 32313 URL: http://svn.gna.org/viewcvs/freeciv?rev=32313&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: branches/S2_6/data/experimental/effects.ruleset Modified: branches/S2_6/data/experimental/effects.ruleset URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/experimental/effects.ruleset?rev=32313&r1=32312&r2=32313&view=diff ============================================================================== --- branches/S2_6/data/experimental/effects.ruleset (original) +++ branches/S2_6/data/experimental/effects.ruleset Thu Apr 7 21:11:24 2016 @@ -1056,7 +1056,7 @@ "Building", "Michelangelo's Chapel", "Player", FALSE } -[effect_city_walls] +[effect_city_walls_land_defense] type = "Defend_Bonus" value = 200 reqs = @@ -1064,10 +1064,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 = @@ -2020,18 +2030,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