Author: espreon
Date: Sat Nov 22 19:47:22 2008
New Revision: 30968

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30968&view=rev
Log:
* Made it so that Nym's custom unit does not [base_unit], as it caused problems 
with her defense animation.

Modified:
    trunk/data/campaigns/Under_the_Burning_Suns/units/Nym.cfg

Modified: trunk/data/campaigns/Under_the_Burning_Suns/units/Nym.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/campaigns/Under_the_Burning_Suns/units/Nym.cfg?rev=30968&r1=30967&r2=30968&view=diff
==============================================================================
--- trunk/data/campaigns/Under_the_Burning_Suns/units/Nym.cfg (original)
+++ trunk/data/campaigns/Under_the_Burning_Suns/units/Nym.cfg Sat Nov 22 
19:47:22 2008
@@ -1,4 +1,52 @@
 #textdomain wesnoth-utbs
+
+#define NYM_BASE HP EXP LEVEL SWORD_POWER BOLAS_POWER
+    race=elf
+    gender=female
+    image=units/elves-desert/nym.png
+    profile=portraits/nym.png
+    hitpoints={HP}
+    movement_type=woodland
+    #desert elves move fast across the sands, but are not used to forests
+    #they are also a bit faster in caves
+    [movement_costs]
+        sand=1
+        forest=2
+        cave=2
+        frozen=3
+    [/movement_costs]
+    [defense]
+        sand=40
+        forest=50
+    [/defense]
+    movement=6
+    level={LEVEL}
+    experience={EXP}
+    alignment=lawful
+    usage=mixed fighter
+    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
+    [attack]
+        name=sword
+        description= _"sword"
+        type=blade
+        range=melee
+        damage={SWORD_POWER}
+        number=4
+        icon=attacks/sword-elven.png
+    [/attack]
+    [attack]
+        name=bolas
+        description= _"bolas"
+        type=impact
+        range=ranged
+        damage={BOLAS_POWER}
+        number=2
+        [specials]
+            {WEAPON_SPECIAL_SLOW}
+        [/specials]
+        icon=attacks/bolas.png
+    [/attack]
+#enddef
 
 #define NYM_ANIMATIONS
     {DEFENSE_ANIM "units/elves-desert/nym-defend.png" 
units/elves-desert/nym.png {SOUND_LIST:ELF_FEMALE_HIT} }
@@ -84,44 +132,30 @@
 
 [unit_type]
     id=Nym Hunter
-    [base_unit]
-        id=Desert Hunter
-    [/base_unit]
     name= _ "female^Desert Hunter"
-    gender=female
-    image=units/elves-desert/nym.png
-    profile=portraits/nym.png
     advances_to=Nym Sentinel
     description= _ "Nym is Kaleh's childhood friend who follows the tradition 
of a family of Desert Hunters, as much as that can be said about a young, 
rebellious lady with quick wits and strong will. Her high spirits are a great 
boon in dark times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}
-    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
+    cost=20
+    advances_to=Nym Sentinel
+    {NYM_BASE 30 42 1 5 4}
     {NYM_ANIMATIONS}
 [/unit_type]
 
 [unit_type]
     id=Nym Sentinel
-    [base_unit]
-        id=Desert Sentinel
-    [/base_unit]
     name= _ "female^Desert Sentinel"
-    gender=female
-    image=units/elves-desert/nym.png
-    profile=portraits/nym.png
     advances_to=Nym Prowler
     description= _ "Nym is Kaleh's childhood friend who follows the tradition 
of a family of Desert Hunters, as much as that can be said about a young, 
rebellious lady with quick wits and strong will. Her high spirits are a great 
boon in dark 
times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
-    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
+    {NYM_BASE 44 84 2 7 8}
     {NYM_ANIMATIONS}
 [/unit_type]
 
 [unit_type]
     id=Nym Prowler
-    [base_unit]
-        id=Desert Prowler
-    [/base_unit]
     gender=female
     name= _ "female^Desert Prowler"
-    image=units/elves-desert/nym.png
-    profile=portraits/nym.png
     description= _ "Nym is Kaleh's childhood friend who follows the tradition 
of a family of Desert Hunters, as much as that can be said about a young, 
rebellious lady with quick wits and strong will. Her high spirits are a great 
boon in dark 
times."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}+{SPECIAL_NOTES_SKIRMISHER}
-    die_sound={SOUND_LIST:ELF_FEMALE_HIT}
+    advances_to=null
+    {NYM_BASE 66 150 3 9 12}
     {NYM_ANIMATIONS}
 [/unit_type]


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

Reply via email to