#textdomain wesnoth-trow
[unit]
	id=Noble Fighter
	name= _ "Noble Fighter"
	race=human
	gender=male
	image="noble-fighter.png"
	ellipse="misc/ellipse"
	{DEFENSE_ANIM "noble-fighter-defend.png" "noble-fighter.png" {SOUND_LIST:HUMAN_HIT} }
#ifdef CAMPAIGN_THE_RISE_OF_WESNOTH
	profile=portraits/haldric.png
#endif
	hitpoints=36
	movement_type=smallfoot
	movement=6
	experience=40
	level=1
	alignment=lawful
	advanceto=Noble Commander
	cost=20
	usage=mixed fighter
	unit_description= _ "Young and brash, Fighters fight with a sword, and are vulnerable to ranged attacks from enemies. However they have the potential to become great Commanders one day."
	die_sound={SOUND_LIST:HUMAN_DIE}
	[attack]
		name=sword
		description= _"sword"
		type=blade
		range=melee
		damage=7
		number=3
		icon=attacks/sword-human.png
		[animation]
			[frame]
				begin=-200
				end=-150
				image="noble-fighter.png"
			[/frame]
			[frame]
				begin=-150
				end=-75
				image="noble-fighter-attack.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-75
					end=100
					image="noble-fighter-attack2.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-75
					end=100
					image="noble-fighter-attack2.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=100
				end=175
				image="noble-fighter.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
