mail[Wesnoth-commits] r24374 - /trunk/data/core/macros/abilities.cfg


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

Header


Content

Posted by esr on March 06, 2008 - 20:03:
Author: esr
Date: Thu Mar  6 20:03:03 2008
New Revision: 24374

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24374&view=rev
Log:
Implement Ivanovic's suggestion of changing the ABILITY_LEADERSHIP_*
macros so the generate different ability IDs.  Relates to bug #11189.

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

Modified: trunk/data/core/macros/abilities.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/abilities.cfg?rev=24374&r1=24373&r2=24374&view=diff
==============================================================================
--- trunk/data/core/macros/abilities.cfg (original)
+++ trunk/data/core/macros/abilities.cfg Thu Mar  6 20:03:03 2008
@@ -101,14 +101,12 @@
     # Canned definition of the Leadership (level 1) ability to be included 
in an
     # [abilities] clause.
     [leadership]
-        id=leadership
+        id=leadership1
         value=25
         cumulative=no
-        name= _ "leadership"
-        description= _ "Leadership:
-This unit can lead friendly units that are next to it, making them fight 
better.
-
-Adjacent friendly units of lower level will do more damage in battle. When a 
unit adjacent to, of a lower level than, and on the same side as a unit with 
Leadership engages in combat, its attacks do 25% more damage times the 
difference in their levels."
+        name= _ "leadership 1"
+        description= _ "Leadership 1:
+This unit can lead friendly level zero units that are next to it, making 
them fight better. Adjacent friendly units of level zero will do 25% more 
damage in battle."
         affect_self=no
         [affect_adjacent]
             adjacent=n,ne,se,s,sw,nw
@@ -123,14 +121,12 @@
     # Canned definition of the Leadership (level 2) ability to be included 
in an
     # [abilities] clause.
     [leadership]
-        id=leadership
+        id=leadership2
         value=50
         cumulative=no
-        name= _ "leadership"
-        description= _ "Leadership:
-This unit can lead friendly units that are next to it, making them fight 
better.
-
-Adjacent friendly units of lower level will do more damage in battle. When a 
unit adjacent to, of a lower level than, and on the same side as a unit with 
Leadership engages in combat, its attacks do 25% more damage times the 
difference in their levels."
+        name= _ "leadership 2"
+        description= _ "Leadership 2:
+This unit can lead friendly L0 or L1 units that are next to it, making them 
fight better. Adjacent friendly units of L1 will do 25% more damage; L0 units 
will do 50% more."
         affect_self=no
         [affect_adjacent]
             adjacent=n,ne,se,s,sw,nw
@@ -140,7 +136,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership2
         value=25
         cumulative=no
         affect_self=no
@@ -157,14 +153,12 @@
     # Canned definition of the Leadership (level 3) ability to be included 
in an
     # [abilities] clause.
     [leadership]
-        id=leadership
+        id=leadership3
         value=75
         cumulative=no
-        name= _ "leadership"
-        description= _ "Leadership:
-This unit can lead friendly units that are next to it, making them fight 
better.
-
-Adjacent friendly units of lower level will do more damage in battle. When a 
unit adjacent to, of a lower level than, and on the same side as a unit with 
Leadership engages in combat, its attacks do 25% more damage times the 
difference in their levels."
+        name= _ "leadership 3"
+        description= _ "Leadership 3:
+This unit can lead friendly L0, L1, or L2 units that are next to it, making 
them fight better. Adjacent friendly units of L2 will do more 25% more 
damage; L1 units will do 50% more, and L0 will do 75% more."
         affect_self=no
         [affect_adjacent]
             adjacent=n,ne,se,s,sw,nw
@@ -174,7 +168,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership3
         value=50
         cumulative=no
         affect_self=no
@@ -186,7 +180,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership3
         value=25
         cumulative=no
         affect_self=no
@@ -203,14 +197,12 @@
     # Canned definition of the Leadership (level 4) ability to be included 
in an
     # [abilities] clause.
     [leadership]
-        id=leadership
+        id=leadership4
         value=100
         cumulative=no
-        name= _ "leadership"
-        description= _ "Leadership:
-This unit can lead friendly units that are next to it, making them fight 
better.
-
-Adjacent friendly units of lower level will do more damage in battle. When a 
unit adjacent to, of a lower level than, and on the same side as a unit with 
Leadership engages in combat, its attacks do 25% more damage times the 
difference in their levels."
+        name= _ "leadership 4"
+        description= _ "Leadership 4:
+This unit can lead friendly L0, L1, L2, or L3 units that are next to it, 
making them fight better. Adjacent friendly units of L3 will do more 25% more 
damage; L2 units will do 50% more, L1 will do 75% more, and L0 units will do 
100% more."
         affect_self=no
         [affect_adjacent]
             adjacent=n,ne,se,s,sw,nw
@@ -220,7 +212,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership4
         value=75
         cumulative=no
         affect_self=no
@@ -232,7 +224,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership4
         value=50
         cumulative=no
         affect_self=no
@@ -244,7 +236,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership4
         value=25
         cumulative=no
         affect_self=no
@@ -261,14 +253,12 @@
     # Canned definition of the Leadership (level 5) ability to be included 
in an
     # [abilities] clause.
     [leadership]
-        id=leadership
+        id=leadership5
         value=125
         cumulative=no
-        name= _ "leadership"
-        description= _ "Leadership:
-This unit can lead friendly units that are next to it, making them fight 
better.
-
-Adjacent friendly units of lower level will do more damage in battle. When a 
unit adjacent to, of a lower level than, and on the same side as a unit with 
Leadership engages in combat, its attacks do 25% more damage times the 
difference in their levels."
+        name= _ "leadership 5"
+        description= _ "Leadership 5:
+This unit can lead friendly L0, L1, L2, L3, or L4 units that are next to it, 
making them fight better. Adjacent friendly units of L4 will do more 25% more 
damage; L3 units will do 50% more, L2 will do 75% more, L1 units will do 100% 
more, and L0 will do 125% more."
         affect_self=no
         [affect_adjacent]
             adjacent=n,ne,se,s,sw,nw
@@ -278,7 +268,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership5
         value=100
         cumulative=no
         affect_self=no
@@ -290,7 +280,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership5
         value=75
         cumulative=no
         affect_self=no
@@ -302,7 +292,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership5
         value=50
         cumulative=no
         affect_self=no
@@ -314,7 +304,7 @@
         [/affect_adjacent]
     [/leadership]
     [leadership]
-        id=leadership
+        id=leadership5
         value=25
         cumulative=no
         affect_self=no




Related Messages


Powered by MHonArc, Updated Thu Mar 06 20:22:00 2008