Cleaned up the ghast .cfg a bit.

This commit is contained in:
Lari Nieminen 2010-08-19 19:35:27 +00:00
parent 390d678e2b
commit b53b17fa0f

View file

@ -1,102 +1,92 @@
#textdomain wesnoth-units
[unit_type]
id=Ghast
name= _ "Ghast"
race=undead
image="units/undead/ghast.png"
profile=portraits/undead/ghoul.png
{TRAIT_FEARLESS_MUSTHAVE}
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=65
movement_type=undeadfoot
movement=5
level=3
alignment=chaotic
advances_to=null
{AMLA_DEFAULT}
experience=150
cost=41
usage=fighter
description= _ "The ghast is a creature taken from humankind's most primal nightmares. Unlike their lesser cousins, ghouls and necrophages, ghasts are not patient enough to wait for their victim to die from poison before consuming the body. They attack directly with their enormous mouths, trying to rip the flesh straight from their foes. Once their enemy is defeated, they eat the rest of the body, gaining strength in the process."+{SPECIAL_NOTES}+{SPECIAL_NOTES_FEEDING}+{SPECIAL_NOTES_POISON}
hide_help=true
[portrait]
size=400
side="left"
mirror="false"
image="portraits/undead/transparent/ghoul.png"
[/portrait]
[portrait]
size=400
side="right"
mirror="true"
image="portraits/undead/transparent/ghoul.png"
[/portrait]
[abilities]
{ABILITY_FEEDING}
[/abilities]
die_sound=ghoul-hit.wav
{DEFENSE_ANIM "units/undead/ghast-defend-2.png" "units/undead/ghast-defend-1.png" ghoul-hit.wav }
[movement_costs]
deep_water=100
shallow_water=3
[/movement_costs]
[resistance]
impact=100
fire=90
cold=60
[/resistance]
[attack]
name=bite
description=_ "bite"
icon=attacks/fangs.png
type=blade
range=melee
damage=10
number=3
[specials]
{WEAPON_SPECIAL_POISON}
[/specials]
[/attack]
[attack_anim]
[filter_attack]
name=bite
[/filter_attack]
start_time=-450
[frame]
duration=100
image="units/undead/ghast-attack-1.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/ghast-attack-2.png"
sound="bite.ogg"
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/ghast-attack-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=100
image="units/undead/ghast-attack-3.png"
[/frame]
[frame]
duration=100
image="units/undead/ghast-attack-4.png"
[/frame]
[frame]
duration=100
image="units/undead/ghast-attack-5.png"
[/frame]
[frame]
duration=100
image="units/undead/ghast-attack-6.png"
[/frame]
[/attack_anim]
[/unit_type]
#textdomain wesnoth-units
[unit_type]
id=Ghast
name= _ "Ghast"
race=undead
{TRAIT_FEARLESS_MUSTHAVE}
image="units/undead/ghast.png"
profile="portraits/undead/ghoul.png"
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=65
movement_type=gruefoot
movement=5
experience=150
level=3
alignment=chaotic
advances_to=null
{AMLA_DEFAULT}
cost=41
usage=fighter
description= _ "The ghast is a creature taken from humankinds most primal nightmares. Unlike their lesser cousins, ghouls and necrophages, ghasts are not patient enough to wait for their victim to die from poison before consuming the body. They attack directly with their enormous mouths, trying to rip the flesh straight from their foes. Once their enemy is defeated, they eat the rest of the body, gaining strength in the process."+{SPECIAL_NOTES}+{SPECIAL_NOTES_POISON}+{SPECIAL_NOTES_FEEDING}
die_sound=ghoul-hit.wav
[abilities]
{ABILITY_FEEDING}
[/abilities]
{DEFENSE_ANIM "units/undead/ghast-defend-2.png" "units/undead/ghast-defend-1.png" ghoul-hit.wav }
[attack]
name=bite
description=_ "bite"
icon=attacks/fangs.png
type=blade
range=melee
damage=10
number=3
[specials]
{WEAPON_SPECIAL_POISON}
[/specials]
[/attack]
[portrait]
size=400
side="left"
mirror="false"
image="portraits/undead/transparent/ghoul.png"
[/portrait]
[portrait]
size=400
side="right"
mirror="true"
image="portraits/undead/transparent/ghoul.png"
[/portrait]
[attack_anim]
[filter_attack]
name=bite
[/filter_attack]
start_time=-450
[frame]
duration=100
image="units/undead/ghast-attack-1.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/ghast-attack-2.png"
sound="bite.ogg"
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/ghast-attack-2.png"
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
duration=100
image="units/undead/ghast-attack-3.png"
[/frame]
[frame]
duration=100
image="units/undead/ghast-attack-4.png"
[/frame]
[frame]
duration=100
image="units/undead/ghast-attack-5.png"
[/frame]
[frame]
duration=100
image="units/undead/ghast-attack-6.png"
[/frame]
[/attack_anim]
[/unit_type]