[unit]
	id=Duelist
	name= _ "Duelist"
	race=human
	image="units/human-loyalists/duelist.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=44
	movement_type=elusivefoot
	movement=7
	experience=90
	level=2
	alignment=lawful
	advanceto=Master at Arms
	cost=32
	usage=mixed fighter
	unit_description= _ "It is a peculiar custom of Wesnoth's nobility that they typically enroll their sons into one of two orders of armigers, training them either in the art of horsemanship or fencing. Duelists are so named for an unfortunately common practice of young aristocrats, for whom the sting of real or fancied insult can sometimes incite a rash demonstration of their natural right.

Experienced fencers, who often look the part of nobility even if not always actually of noble birth, carry with them a small crossbow that is easily concealed under a coat or cape. Slow to load and often thought dishonorable to use, it is in fact very useful, and those of their ranks who live long enough to be veterans typically do so by making such concessions to utility and survival.

Special Notes:"+{SPECIAL_NOTES_SKIRMISHER}
	die_sound={SOUND_LIST:HUMAN_DIE}
	{DEFENSE_ANIM "units/human-loyalists/duelist-defend.png" "units/human-loyalists/duelist.png" {SOUND_LIST:HUMAN_HIT} }
	[abilities]
		{ABILITY_SKIRMISHER}
	[/abilities]
	[death]
		[frame]
			begin=0
			end=100
			image="units/human-loyalists/duelist-die1.png"
		[/frame]
		[frame]
			begin=100
			end=200
			image="units/human-loyalists/duelist-die2.png"
		[/frame]
		[frame]
			begin=200
			end=300
			image="units/human-loyalists/duelist-die3.png"
		[/frame]
		[frame]
			begin=300
			end=400
			image="units/human-loyalists/duelist-die4.png"
		[/frame]
		[frame]
			begin=400
			end=500
			image="units/human-loyalists/duelist-die5.png"
		[/frame]
		[frame]
			begin=500
			end=600
			image="units/human-loyalists/duelist-die6.png"
		[/frame]
		[frame]
			begin=600
			end=700
			image="units/human-loyalists/duelist-die7.png"
		[/frame]
		[frame]
			begin=700
			end=800
			image="units/human-loyalists/duelist-die8.png"
		[/frame]
	[/death]
	[attack]
		name=sabre
		icon=attacks/sabre-human.png
		type=blade
		range=melee
		damage=5
		number=5
		[animation]
			[frame]
				begin=-250
				end=-150
				image="units/human-loyalists/duelist.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-150
					end=50
					image="units/human-loyalists/duelist-attack.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-150
					end=50
					image="units/human-loyalists/duelist-attack.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=50
				end=150
				image="units/human-loyalists/duelist.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=crossbow
		icon=attacks/crossbow-human.png
		type=pierce
		range=ranged
		damage=12
		number=1
		[animation]
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
			[if]
				hits=yes
				[frame]
					begin=-350
					end=50
					image="units/human-loyalists/duelist-ranged.png"
					sound=crossbow.ogg
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-350
					end=50
					image="units/human-loyalists/duelist-ranged.png"
					sound=crossbow-miss.ogg
				[/frame]
			[/else]
		[/animation]
	[/attack]
[/unit]
