Author: jtn
Date: Thu Mar 12 01:08:50 2015
New Revision: 28498

URL: http://svn.gna.org/viewcvs/freeciv?rev=28498&view=rev
Log:
Tweak civ2civ3 airbase cumulative HP_Regen to 1/3, to match a city
without an Airport.

Suggested by David Fernandez (bardo@gna).

See gna patch #5925.

Modified:
    branches/S2_6/data/civ2civ3/effects.ruleset

Modified: branches/S2_6/data/civ2civ3/effects.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/data/civ2civ3/effects.ruleset?rev=28498&r1=28497&r2=28498&view=diff
==============================================================================
--- branches/S2_6/data/civ2civ3/effects.ruleset (original)
+++ branches/S2_6/data/civ2civ3/effects.ruleset Thu Mar 12 01:08:50 2015
@@ -264,6 +264,25 @@
       "UnitClass", "Missile", "Local", FALSE
     }
 
+[effect_fort_defense]
+type    = "Defend_Bonus"
+value   = 50
+reqs    =
+    { "type", "name", "range", "present"
+      "Extra", "Fort", "Local", TRUE
+;      "UnitClass", "Land", "Local", FALSE
+;      "UnitClass", "Small Land", "Local", FALSE
+;      "UnitClass", "Big Land", "Local", FALSE
+;      "UnitClass", "Merchant", "Local", FALSE
+;      "UnitClass", "Sea", "Local", FALSE
+;      "UnitClass", "Trireme", "Local", FALSE
+      "UnitClass", "Helicopter", "Local", FALSE
+      "UnitClass", "Air", "Local", FALSE
+      "UnitClass", "Missile", "Local", FALSE
+    }
+
+; Cumulative with fort
+; 50 + 50 = 100
 [effect_fortress_defense]
 type    = "Defend_Bonus"
 value   = 50
@@ -281,27 +300,30 @@
       "UnitClass", "Missile", "Local", FALSE
     }
 
-[effect_fort_defense]
-type    = "Defend_Bonus"
-value   = 50
-reqs    =
-    { "type", "name", "range", "present"
-      "Extra", "Fort", "Local", TRUE
-;      "UnitClass", "Land", "Local", FALSE
-;      "UnitClass", "Small Land", "Local", FALSE
-;      "UnitClass", "Big Land", "Local", FALSE
-;      "UnitClass", "Merchant", "Local", FALSE
-;      "UnitClass", "Sea", "Local", FALSE
-;      "UnitClass", "Trireme", "Local", FALSE
-      "UnitClass", "Helicopter", "Local", FALSE
-      "UnitClass", "Air", "Local", FALSE
+; Airstrip HP regen (Every Air unit)
+[effect_airstrip_hp_regen]
+type    = "HP_Regen"
+value   = 10
+reqs    =
+    { "type", "name", "range", "present"
+      "Extra", "Airstrip", "Local", TRUE
+      "UnitClass", "Land", "Local", FALSE
+      "UnitClass", "Small Land", "Local", FALSE
+      "UnitClass", "Big Land", "Local", FALSE
+      "UnitClass", "Merchant", "Local", FALSE
+      "UnitClass", "Sea", "Local", FALSE
+      "UnitClass", "Trireme", "Local", FALSE
+;      "UnitClass", "Helicopter", "Local", FALSE
+;      "UnitClass", "Air", "Local", FALSE
       "UnitClass", "Missile", "Local", FALSE
     }
 
-; Airbase HP regen (Every Air units)
+; Airbase HP regen: cumulative with airstrip
+; 10 + 24 = 34% (this approximation to 1/3 is exact for units <50HP;
+; 1/3 is equivalent to a city without Airport)
 [effect_airbase_hp_regen]
 type    = "HP_Regen"
-value   = 25
+value   = 24
 reqs    =
     { "type", "name", "range", "present"
       "Extra", "Airbase", "Local", TRUE
@@ -316,9 +338,9 @@
       "UnitClass", "Missile", "Local", FALSE
     }
 
-[effect_airfield_hp_regen]
-type    = "HP_Regen"
-value   = 10
+[effect_airstrip_defense]
+type    = "Defend_Bonus"
+value   = 50
 reqs    =
     { "type", "name", "range", "present"
       "Extra", "Airstrip", "Local", TRUE
@@ -330,32 +352,17 @@
       "UnitClass", "Trireme", "Local", FALSE
 ;      "UnitClass", "Helicopter", "Local", FALSE
 ;      "UnitClass", "Air", "Local", FALSE
-      "UnitClass", "Missile", "Local", FALSE
-    }
-
+;      "UnitClass", "Missile", "Local", FALSE
+    }
+
+; Cumulative with airstrip
+; 50 + 50 = 100
 [effect_airbase_defense]
 type    = "Defend_Bonus"
 value   = 50
 reqs    =
     { "type", "name", "range", "present"
       "Extra", "Airbase", "Local", TRUE
-      "UnitClass", "Land", "Local", FALSE
-      "UnitClass", "Small Land", "Local", FALSE
-      "UnitClass", "Big Land", "Local", FALSE
-      "UnitClass", "Merchant", "Local", FALSE
-      "UnitClass", "Sea", "Local", FALSE
-      "UnitClass", "Trireme", "Local", FALSE
-;      "UnitClass", "Helicopter", "Local", FALSE
-;      "UnitClass", "Air", "Local", FALSE
-;      "UnitClass", "Missile", "Local", FALSE
-    }
-
-[effect_airfield_defense]
-type    = "Defend_Bonus"
-value   = 50
-reqs    =
-    { "type", "name", "range", "present"
-      "Extra", "Airstrip", "Local", TRUE
       "UnitClass", "Land", "Local", FALSE
       "UnitClass", "Small Land", "Local", FALSE
       "UnitClass", "Big Land", "Local", FALSE


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to