Author: sveinung
Date: Thu Oct  6 14:05:59 2016
New Revision: 34020

URL: http://svn.gna.org/viewcvs/freeciv?rev=34020&view=rev
Log:
webperimental: let the Leader heal its units.

Give the Leader unit the ability to do "Heal Unit" to domestic and allied
light weight units, including it self. The ability to heal it self and any
light weight escorts makes it a bit harder to kill the Leader. It could also
give a (small) incentive to take the Leader into the field in the beginning
of the game (when most land units have the LightWeight unit type flag).

See patch #7775

Modified:
    trunk/data/webperimental/game.ruleset

Modified: trunk/data/webperimental/game.ruleset
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/webperimental/game.ruleset?rev=34020&r1=34019&r2=34020&view=diff
==============================================================================
--- trunk/data/webperimental/game.ruleset       (original)
+++ trunk/data/webperimental/game.ruleset       Thu Oct  6 14:05:59 2016
@@ -61,6 +61,8 @@
 - Killing an enemy Leader gives you a few of his cities, some of his gold \
 and some of his knowledge. Not all his cities will follow you. Some will \
 rather turn barbarian.\n\
+- The Leader can heal light weight units belonging to you or to your \
+allies.\n\
 - Labels the year using AD/BC.\n\
 - All units can be airlifted:\n\
   - Light weight units can be airlifted once Flight is known.\n\
@@ -660,6 +662,24 @@
       "UnitFlag", "AddToCity", "Local", TRUE
       "DiplRel", "Is foreign", "Local", FALSE
       "MinMoveFrags", "1", "Local", TRUE
+    }
+
+[actionenabler_heal]
+action = "Heal Unit"
+actor_reqs    =
+    { "type",         "name",          "range", "present"
+      "UnitFlag",     "GameLoss",      "Local", TRUE
+      "DiplRel",      "War",           "Local", FALSE
+      "DiplRel",      "Cease-fire",    "Local", FALSE
+      "DiplRel",      "Armistice",     "Local", FALSE
+      "DiplRel",      "Peace",         "Local", FALSE
+      "DiplRel",      "Never met",     "Local", FALSE
+      "MinMoveFrags", "1",             "Local", TRUE
+      "UnitState",    "OnLivableTile", "Local", TRUE
+    }
+target_reqs    =
+    { "type",         "name",          "range", "present"
+      "UnitFlag",     "LightWeight",   "Local", TRUE
     }
 
 [actionenabler_border_police]


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

Reply via email to