Author: fendrin
Date: Wed Apr  8 19:48:48 2009
New Revision: 34637

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34637&view=rev
Log:
New "Aged trait" for campaigns, decrease of HP by 8, melee and movement -1

Modified:
    trunk/data/core/macros/traits.cfg

Modified: trunk/data/core/macros/traits.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/traits.cfg?rev=34637&r1=34636&r2=34637&view=diff
==============================================================================
--- trunk/data/core/macros/traits.cfg (original)
+++ trunk/data/core/macros/traits.cfg Wed Apr  8 19:48:48 2009
@@ -214,3 +214,24 @@
         [/effect]
     [/trait]
 #enddef
+
+#define TRAIT_AGED
+    # Units with trait Aged get a 8 points HP decrease and have -1 movement 
and melee damage.
+    [trait]
+        id=aged
+        male_name= _ "aged"
+        [effect]
+            apply_to=hitpoints
+            increase_total=-8
+        [/effect]
+        [effect]
+            apply_to=movement
+            increase=-1
+        [/effect]
+        [effect]
+            apply_to=attack
+            range=melee
+            increase_damage=-1
+        [/effect]
+    [/trait]
+#enddef


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to