Author: xan
Date: Mon Mar 20 23:50:14 2006
New Revision: 10652

URL: http://svn.gna.org/viewcvs/wesnoth?rev=10652&view=rev
Log:
Updated abilities.cfg and units.cfg

Modified:
    branches/xan/data/abilities.cfg
    branches/xan/data/units.cfg

Modified: branches/xan/data/abilities.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/xan/data/abilities.cfg?rev=10652&r1=10651&r2=10652&view=diff
==============================================================================
--- branches/xan/data/abilities.cfg (original)
+++ branches/xan/data/abilities.cfg Mon Mar 20 23:50:14 2006
@@ -1,85 +1,80 @@
 
 #define ABILITY_HEALS
        [heals]
-               description=heals
-               amount=4
-               max=8
+               value=4
+               max_value=8
+               cumulative=no
+               affect_allies=yes
+               name= _ "heals"
+               description=  _ "Heals:
+Allows the unit to heal adjacent friendly units at the beginning of each turn.
+
+A unit cared for by a healer may heal up to 4 HP per turn.
+A poisoned unit cannot be cured of its poison by a healer, and must seek the 
care of a village or a unit that can cure."
+               affect_self=yes
        [/heals]
 #enddef
 
 #define ABILITY_CURES
        [heals]
-               description=cures
-               amount=8
-               max=18
+               value=8
+               max_value=18
+               cumulative=no
+               affect_allies=yes
+               name= _ "cures"
+               description= _ "Cures:
+This unit combines herbal remedies with magic to heal units more quickly than 
is normally possible on the battlefield.
+
+This unit will care for all adjacent friendly units that are injured at the 
beginning of each turn.
+A unit cared for by a curer may heal up to 8 HP per turn.
+A curer may heal a total of 18 HP per turn, for all units it cares for.
+A curer can cure a unit of poison, although that unit will receive no 
additional healing on the turn it is cured of the poison."
+               affect_self=yes
        [/heals]
 #enddef
 
 #define ABILITY_REGENERATES
        [regenerates]
-               description=regenerates
-               amount=8
        [/regenerates]
 #enddef
 
 #define ABILITY_STEADFAST
        [steadfast]
-               description=steadfast
-               bonus=100%
-               max=50
        [/steadfast]
 #enddef
 
 #define ABILITY_LEADERSHIP
        [leadership]
-               description=leadership
-               perlevel_bonus=25
        [/leadership]
 #enddef
 
 #define ABILITY_SKIRMISHER
        [skirmisher]
-               description=skirmisher
        [/skirmisher]
 #enddef
 
 #define ABILITY_ILLUMINATES
        [illuminates]
-               description=illuminates
-               level=1
        [/illuminates]
 #enddef
 
 #define ABILITY_TELEPORT
        [teleport]
-               description=teleport
        [/teleport]
 #enddef
 
 #define ABILITY_AMBUSH
        [hides]
-               description=ambush
-               [filter]
-                       terrains=f
-               [/filter]
        [/hides]
 #enddef
 
 #define ABILITY_NIGHTSTALK
        [hides]
-               description=nightstalk
-               [filter]
-                       tod=chaotic
-               [/filter]
        [/hides]
 #enddef
 
 #define ABILITY_SUBMERGE
        [hides]
-               description=submerge
-               [filter]
-                       terrains=s
-               [/filter]
        [/hides]
 #enddef
 

Modified: branches/xan/data/units.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/xan/data/units.cfg?rev=10652&r1=10651&r2=10652&view=diff
==============================================================================
--- branches/xan/data/units.cfg (original)
+++ branches/xan/data/units.cfg Mon Mar 20 23:50:14 2006
@@ -7,8 +7,6 @@
 #enddef
 
 [+units]
-       {units}
-       {~units}
 
        #traits that are common to all races and units
        {TRAIT_STRONG}
@@ -103,8 +101,7 @@
        undead_variation=null
        [/race]
 
-       [movetype]
-       name=smallfoot
+#define MOVETYPE_smallfoot
                [movement_costs]
                deep_water=100
                shallow_water=3
@@ -148,10 +145,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=orcishfoot
+#enddef
+
+#define MOVETYPE_orcishfoot
                [movement_costs]
                deep_water=100
                shallow_water=3
@@ -195,10 +191,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=largefoot
+#enddef
+
+#define MOVETYPE_largefoot
                [movement_costs]
                deep_water=100
                shallow_water=2
@@ -241,10 +236,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=armoredfoot
+#enddef
+
+#define MOVETYPE_armoredfoot
                [movement_costs]
                deep_water=100
                shallow_water=4
@@ -287,10 +281,9 @@
                cold=110
                holy=80
                [/resistance]
-       [/movetype]
+#enddef
        
-       [movetype]
-       name=elusivefoot
+#define MOVETYPE_elusivefoot
                [movement_costs]
                deep_water=100
                shallow_water=2
@@ -334,10 +327,9 @@
                holy=80
                [/resistance]
 
-       [/movetype]
-
-       [movetype]
-       name=mounted
+#enddef
+
+#define MOVETYPE_mounted
                [movement_costs]
                deep_water=100
                shallow_water=4
@@ -380,10 +372,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=woodland
+#enddef
+
+#define MOVETYPE_woodland
                [movement_costs]
                deep_water=100
                shallow_water=3
@@ -426,10 +417,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
+#enddef
        
-       [movetype]
-       name=woodlandfloat
+#define MOVETYPE_woodlandfloat
        flies=true
                [movement_costs]
                deep_water=2
@@ -473,10 +463,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=treefolk
+#enddef
+
+#define MOVETYPE_treefolk
                [movement_costs]
                deep_water=100
                shallow_water=2
@@ -519,10 +508,9 @@
                cold=90
                holy=80
                [/resistance]
-       [/movetype] 
-
-       [movetype]
-       name=fly
+#enddef
+
+#define MOVETYPE_fly
        flies=true
                [movement_costs]
                deep_water=1
@@ -567,10 +555,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=deepsea
+#enddef
+
+#define MOVETYPE_deepsea
                [movement_costs]
                deep_water=1
                shallow_water=2
@@ -613,10 +600,9 @@
                cold=40
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=swimmer
+#enddef
+
+#define MOVETYPE_swimmer
                [movement_costs]
                deep_water=1
                shallow_water=1
@@ -659,10 +645,9 @@
                cold=80
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=naga
+#enddef
+
+#define MOVETYPE_naga
                [movement_costs]
                deep_water=1
                shallow_water=1
@@ -704,10 +689,9 @@
                cold=120
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=float
+#enddef
+
+#define MOVETYPE_float
        flies=true
                [movement_costs]
                deep_water=1
@@ -751,10 +735,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=mountainfoot
+#enddef
+
+#define MOVETYPE_mountainfoot
                [movement_costs]
                deep_water=100
                shallow_water=3
@@ -797,10 +780,9 @@
                cold=100
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=dwarvishfoot
+#enddef
+
+#define MOVETYPE_dwarvishfoot
                [movement_costs]
                deep_water=100
                shallow_water=3
@@ -843,10 +825,9 @@
                cold=90
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=undeadfoot
+#enddef
+
+#define MOVETYPE_undeadfoot
                [movement_costs]
                deep_water=3
                shallow_water=2
@@ -890,10 +871,9 @@
                cold=40
                holy=200
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=undeadfly
+#enddef
+
+#define MOVETYPE_undeadfly
        flies=true
                [movement_costs]
                deep_water=1
@@ -938,10 +918,9 @@
                cold=40
                holy=200
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=undeadspirit
+#enddef
+
+#define MOVETYPE_undeadspirit
        flies=true
                [movement_costs]
                deep_water=2
@@ -986,10 +965,9 @@
                cold=30
                holy=150
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=spirit
+#enddef
+
+#define MOVETYPE_spirit
        flies=true
                [movement_costs]
                deep_water=4
@@ -1034,10 +1012,9 @@
                cold=30
                holy=100
                [/resistance]
-       [/movetype]
-
-       [movetype] 
-               name=lizard
+#enddef
+
+#define MOVETYPE_lizard
                flies=false
                [movement_costs] 
                deep_water=100 
@@ -1081,10 +1058,9 @@
                cold=120 
                holy=80 
                [/resistance] 
-       [/movetype] 
-
-       [movetype]
-               name=none
+#enddef
+
+#define MOVETYPE_none
                flies=false
                [movement_costs]
                deep_water=200
@@ -1127,10 +1103,9 @@
                holy=100
                [/resistance]
        
-       [/movetype]
-
-       [movetype]
-               name=scuttlefoot
+#enddef
+
+#define MOVETYPE_scuttlefoot
                flies=false
                [movement_costs]
                deep_water=100
@@ -1174,10 +1149,9 @@
                cold=120
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=drakefly
+#enddef
+
+#define MOVETYPE_drakefly
        flies=true
        # Drakes are huge (easy targets) flying beasts, but are different
        # from the classical flying unit: to fight they have to land
@@ -1226,10 +1200,9 @@
                cold=150
                holy=80
                [/resistance]
-       [/movetype]
-
-       [movetype]
-       name=drakefoot
+#enddef
+
+#define MOVETYPE_drakefoot
        # These Drakes wear heavy armor - they don't fly
        # But the armor makes them a good bit tougher
        # Do a bit worse in Swamps as they can't hop to dry spots
@@ -1275,5 +1248,7 @@
                cold=150
                holy=80
                [/resistance]
-       [/movetype]
+#enddef
+       {units}
+       {~units}
 [/units]


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

Reply via email to