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

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
--- 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 \
 - 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
+    }
+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

Freeciv-commits mailing list

Reply via email to