Made it so that Nym's custom unit does not [base_unit],

...as it caused problems with her defense animation.
This commit is contained in:
Steven Panek 2008-11-22 18:47:22 +00:00
parent ec0c5bb344
commit 1f7dd00bcd

View file

@ -1,5 +1,53 @@
#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} }
[attack_anim]
@ -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]