wesnoth/data/core/units/dwarves/Guardsman.cfg
2022-04-30 14:23:32 -05:00

107 lines
3.2 KiB
INI

#textdomain wesnoth-units
[unit_type]
id=Dwarvish Guardsman
name= _ "Dwarvish Guardsman"
race=dwarf
image="units/dwarves/guard.png"
profile=portraits/dwarves/guard.webp
hitpoints=42
movement_type=dwarvishfoot
movement=4
experience=47
level=1
alignment=neutral
advances_to=Dwarvish Stalwart
cost=19
usage=fighter
description= _ "The dwarven race has always been famed for its sturdiness of build, and many of their warriors outfit themselves to take advantage of this. Dwarven guardsmen march into battle with tower shields and spears. Most often, their role is to hold the line, and to take a heavy toll on those who try to break it. As the line marches forward, they act to secure its hard-won advance."
die_sound={SOUND_LIST:DWARF_DIE}
[defense]
mountains=40
hills=50
[/defense]
[abilities]
{ABILITY_STEADFAST}
[/abilities]
[attack]
name=spear
description=_"spear"
icon=attacks/spear.png
type=pierce
range=melee
damage=5
number=3
[/attack]
[attack]
name=javelin
description=_"javelin"
icon=attacks/javelin-human.png
type=pierce
range=ranged
damage=5
number=1
[/attack]
{DEFENSE_ANIM "units/dwarves/guard-defend-2.png" "units/dwarves/guard-defend-1.png" {SOUND_LIST:DWARF_HIT} }
[standing_anim]
start_time=0
{WOUNDED_UNIT ()}
[frame]
image="units/dwarves/guard.png:400,units/dwarves/guard-bob-[1~3,2,1].png:[150*2,300,100*2]"
[/frame]
[frame]
image="units/dwarves/guard.png:400,units/dwarves/guard-bob-[1~3,2,1].png:[150*2,300,100*2]"
[/frame]
[frame]
image="units/dwarves/guard.png:400,units/dwarves/guard-bob-[1~5].png:[150*2,300,100*2]"
[/frame]
[/standing_anim]
[standing_anim]
start_time=0
[frame]
image="units/dwarves/guard.png:200"
[/frame]
[/standing_anim]
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
image="units/dwarves/guard-idle-[1~6,1].png:[100,500,100*2,400,500,100]"
[/frame]
[/idle_anim]
[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/guard-defend-1.png:100"
sound={SOUND_LIST:THROW}
[/frame]
{SOUND:HIT spear.ogg -150}
[frame]
image="units/dwarves/guard-attack.png:100"
[/frame]
[frame]
image="units/dwarves/guard.png:50"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=spear
[/filter_attack]
start_time=-300
[frame]
image="units/dwarves/guard-attack-[1~7,1].png:[100*2,50*3,100*3]"
[/frame]
{SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -50}
[/attack_anim]
{MOVING_ANIM_DIRECTIONAL_10_FRAME "units/dwarves/guard"}
[/unit_type]