wesnoth/data/core/units/dwarves/Sentinel.cfg
David Mikos d60d4d7c61 Unit animation WML to use SOUND:HIT_AND_MISS macro throughout.
Large simplification and reduction in cache.
2013-03-20 20:01:25 +00:00

112 lines
3.2 KiB
INI

#textdomain wesnoth-units
[unit_type]
id=Dwarvish Sentinel
name= _ "Dwarvish Sentinel"
race=dwarf
image="units/dwarves/sentinel.png"
profile=portraits/dwarves/sentinel.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=68
movement_type=dwarvishfoot
movement=4
experience=150
level=3
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
cost=41
usage=fighter
description= _ "Champions among their fellow troops, the dwarven sentinels form the bulwark of their battle lines. Leading a direct assault against a line that they fortify, is often out of the question; it tends toward being suicidal, rather than merely ineffectual. These dwarves are masters of the melee, and can hold a patch of earth with the singleminded tenacity of an oak."+{SPECIAL_NOTES}+{SPECIAL_NOTES_STEADFAST}
die_sound={SOUND_LIST:DWARF_DIE}
{DEFENSE_ANIM "units/dwarves/sentinel-defend-2.png" "units/dwarves/sentinel-defend-1.png" {SOUND_LIST:DWARF_HIT} }
[portrait]
size=400
side="left"
mirror="false"
image="portraits/dwarves/transparent/sentinel.png"
[/portrait]
[portrait]
size=400
side="right"
mirror="true"
image="portraits/dwarves/transparent/sentinel.png"
[/portrait]
[defense]
flat=60
forest=60
sand=60
mountains=40
hills=50
[/defense]
[resistance]
blade=70
pierce=70
[/resistance]
[abilities]
{ABILITY_STEADFAST}
[/abilities]
[attack]
name=spear
description=_"spear"
icon=attacks/spear.png
type=pierce
range=melee
damage=9
number=3
[/attack]
[attack]
name=javelin
description=_"javelin"
icon=attacks/javelin-human.png
type=pierce
range=ranged
damage=11
number=2
[/attack]
[attack_anim]
[filter_attack]
name=javelin
[/filter_attack]
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/spear-n.png"
image_diagonal="projectiles/spear-ne.png"
[/missile_frame]
start_time=-250
[frame]
image="units/dwarves/sentinel-defend-1.png:100"
sound={SOUND_LIST:THROW}
[/frame]
{SOUND:HIT spear.ogg -150}
[frame]
image="units/dwarves/sentinel-attack.png:100"
[/frame]
[frame]
image="units/dwarves/sentinel.png:50"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=spear
[/filter_attack]
start_time=-200
[frame]
image="units/dwarves/sentinel.png:50"
[/frame]
[frame]
image="units/dwarves/sentinel-defend-1.png:50"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100}
[frame]
image="units/dwarves/sentinel-attack.png:150"
[/frame]
[frame]
image="units/dwarves/sentinel-defend-1.png:25"
[/frame]
[frame]
image="units/dwarves/sentinel.png:75"
[/frame]
[/attack_anim]
[/unit_type]