
Thanks to The_Gnat for the suggestions: <https://forums.wesnoth.org/viewtopic.php?p=607792#p607792>
81 lines
2.5 KiB
INI
81 lines
2.5 KiB
INI
#textdomain wesnoth-units
|
|
[unit_type]
|
|
id=Elvish Hero
|
|
name= _ "Elvish Hero"
|
|
race=elf
|
|
image="units/elves-wood/hero.png"
|
|
profile="portraits/elves/hero.png"
|
|
hitpoints=51
|
|
movement_type=woodland
|
|
movement=5
|
|
{LESS_NIMBLE_ELF}
|
|
experience=90
|
|
level=2
|
|
alignment=neutral
|
|
advances_to=Elvish Champion
|
|
cost=30
|
|
usage=fighter
|
|
description= _ "Elves, though not warlike by nature, are swift to learn; a relatively small amount of experience will turn an elf from a competent fighter into a master of combat. Those who are honored as heroes are strong with both sword and bow, and their skill once acquired does not fade for lack of practice."
|
|
die_sound={SOUND_LIST:ELF_HIT}
|
|
[attack]
|
|
name=sword
|
|
description=_"sword"
|
|
icon=attacks/sword-elven.png
|
|
type=blade
|
|
range=melee
|
|
damage=8
|
|
number=4
|
|
[/attack]
|
|
[attack]
|
|
name=bow
|
|
description=_"bow"
|
|
icon=attacks/bow-elven.png
|
|
type=pierce
|
|
range=ranged
|
|
damage=6
|
|
number=3
|
|
[/attack]
|
|
{DEFENSE_ANIM_RANGE "units/elves-wood/hero-defend.png" "units/elves-wood/hero.png" {SOUND_LIST:ELF_HIT} melee }
|
|
{DEFENSE_ANIM_RANGE "units/elves-wood/hero-bow-defend.png" "units/elves-wood/hero-bow.png" {SOUND_LIST:ELF_HIT} ranged }
|
|
[attack_anim]
|
|
[filter_attack]
|
|
name=bow
|
|
[/filter_attack]
|
|
missile_start_time=-150
|
|
[missile_frame]
|
|
duration=150
|
|
image="projectiles/missile-n.png"
|
|
image_diagonal="projectiles/missile-ne.png"
|
|
[/missile_frame]
|
|
start_time=-445
|
|
[frame]
|
|
image="units/elves-wood/hero-bow.png:65"
|
|
[/frame]
|
|
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
|
|
[frame]
|
|
image="units/elves-wood/hero-bow-attack[1~4].png:[75*2,100,130]"
|
|
[/frame]
|
|
[frame]
|
|
image="units/elves-wood/hero-bow.png:65"
|
|
[/frame]
|
|
[/attack_anim]
|
|
[attack_anim]
|
|
[filter_attack]
|
|
name=sword
|
|
[/filter_attack]
|
|
start_time=-200
|
|
[frame]
|
|
image="units/elves-wood/hero.png:25"
|
|
[/frame]
|
|
[frame]
|
|
image="units/elves-wood/hero-melee-[1~4].png:[65,35,150,45]"
|
|
[/frame]
|
|
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
|
|
[frame]
|
|
image="units/elves-wood/hero-defend.png:60"
|
|
[/frame]
|
|
[frame]
|
|
image="units/elves-wood/hero.png:20"
|
|
[/frame]
|
|
[/attack_anim]
|
|
[/unit_type]
|