mail[Wesnoth-commits] r20571 - in /trunk/data/core: macros/traits.cfg units/undead/Corpse_Soulless.cfg units/undead/Corpse_Walking.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by benoit . timbert on September 18, 2007 - 22:40:
Author: noyga
Date: Tue Sep 18 22:39:47 2007
New Revision: 20571

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20571&view=rev
Log:
WC/Soulless fix : make a second version ouf fearless that will be given even 
if the random trait generation is disabled

Modified:
    trunk/data/core/macros/traits.cfg
    trunk/data/core/units/undead/Corpse_Soulless.cfg
    trunk/data/core/units/undead/Corpse_Walking.cfg

Modified: trunk/data/core/macros/traits.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/traits.cfg?rev=20571&r1=20570&r2=20571&view=diff
==============================================================================
--- trunk/data/core/macros/traits.cfg (original)
+++ trunk/data/core/macros/traits.cfg Tue Sep 18 22:39:47 2007
@@ -148,3 +148,15 @@
         description= _ "Fights normally during unfavorable times of 
day/night"
     [/trait]
 #enddef
+
+#define TRAIT_FEARLESS_MUSTHAVE
+    # A clone of the above that would be generated even if random trait 
generation is not used.
+    # this is needed for WCs and Soullesses
+    [trait]
+        id=fearless
+        availability="musthave"
+        male_name= _ "fearless"
+        female_name= _ "female^fearless"
+        description= _ "Fights normally during unfavorable times of 
day/night"
+    [/trait]
+#enddef

Modified: trunk/data/core/units/undead/Corpse_Soulless.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/units/undead/Corpse_Soulless.cfg?rev=20571&r1=20570&r2=20571&view=diff
==============================================================================
--- trunk/data/core/units/undead/Corpse_Soulless.cfg (original)
+++ trunk/data/core/units/undead/Corpse_Soulless.cfg Tue Sep 18 22:39:47 2007
@@ -7,7 +7,7 @@
     image="units/undead/{BASE_IMAGE}.png"
     ellipse="misc/ellipse"
     num_traits=2
-    {TRAIT_FEARLESS}
+    {TRAIT_FEARLESS_MUSTHAVE}
     hitpoints={HP}
     movement_type={MOVETYPE}
     movement={MOVES}

Modified: trunk/data/core/units/undead/Corpse_Walking.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/units/undead/Corpse_Walking.cfg?rev=20571&r1=20570&r2=20571&view=diff
==============================================================================
--- trunk/data/core/units/undead/Corpse_Walking.cfg (original)
+++ trunk/data/core/units/undead/Corpse_Walking.cfg Tue Sep 18 22:39:47 2007
@@ -8,7 +8,7 @@
     {MAGENTA_IS_THE_TEAM_COLOR}
     ellipse="misc/ellipse-nozoc"
     num_traits=2
-    {TRAIT_FEARLESS}
+    {TRAIT_FEARLESS_MUSTHAVE}
     hitpoints={HP}
     movement_type={MOVETYPE}
     movement={MOVES}




Related Messages


Powered by MHonArc, Updated Tue Sep 18 23:00:44 2007