[unit]
	id=Dragoon
	name= _ "Dragoon"
	race=human
	image="units/human-loyalists/dragoon.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=53
	movement_type=mounted
	movement=9
	experience=95
	level=2
	alignment=lawful
	advanceto=Cavalier
	undead_variation=mounted
	cost=34
#extra resistance for these units
	usage=scout
	unit_description= _ "The more talented cavalrymen in the armies of Wesnoth are trained in the use of the crossbow, and outfitted with much more powerful steeds. Well-armored, and skilled in the use of their swords, these soldiers can drive forward and hold the ground they take. Their mobility and resilience make them of great value on the battlefield."
	die_sound=horse-die.ogg
	[movement_anim]
		[frame]
			begin=0
			end=150
			image="units/human-loyalists/dragoon-moving.png"
		[/frame]
	[/movement_anim]
	{DEFENSE_ANIM "units/human-loyalists/dragoon-defend.png" "units/human-loyalists/dragoon.png" {SOUND_LIST:HORSE_HIT} }
	[resistance]
		blade=70
		impact=60
		cold=80
	[/resistance]
	[attack]
		name=sword
		icon=attacks/sword-human.png
		type=blade
		range=melee
		damage=6
		number=4
		[animation]
			hits=no
			[frame]
				begin=-225
				end=-200
				image="units/human-loyalists/dragoon.png"
			[/frame]
			[frame]
				begin=-200
				end=-150
				image="units/human-loyalists/dragoon-moving.png"
				sound=horse-canter.wav
			[/frame]
			[frame]
				begin=-150
				end=150
				image="units/human-loyalists/dragoon-attack.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=150
				end=200
				image="units/human-loyalists/dragoon-moving.png"
			[/frame]
			[frame]
				begin=200
				end=225
				image="units/human-loyalists/dragoon.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-225
				end=-200
				image="units/human-loyalists/dragoon.png"
			[/frame]
			[frame]
				begin=-200
				end=-150
				image="units/human-loyalists/dragoon-moving.png"
				sound=horse-canter.wav
			[/frame]
			[frame]
				begin=-150
				end=150
				image="units/human-loyalists/dragoon-attack.png"
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
			[frame]
				begin=150
				end=200
				image="units/human-loyalists/dragoon-moving.png"
			[/frame]
			[frame]
				begin=200
				end=225
				image="units/human-loyalists/dragoon.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=crossbow
		icon=attacks/crossbow-human.png
		type=pierce
		range=ranged
		damage=12
		number=1
		[animation]
			hits=no
			[frame]
				begin=-1100
				end=-1000
				image="units/human-loyalists/dragoon-ranged-1.png"
			[/frame]
			[frame]
				begin=-1000
				end=-900
				image="units/human-loyalists/dragoon-ranged-2.png"
			[/frame]
			[frame]
				begin=-800
				end=-700
				image="units/human-loyalists/dragoon-ranged-3.png"
			[/frame]
			[frame]
				begin=-700
				end=-600
				image="units/human-loyalists/dragoon-ranged-4.png"
			[/frame]
			[frame]
				begin=-600
				end=-500
				image="units/human-loyalists/dragoon-ranged-5.png"
			[/frame]
			[frame]
				begin=-500
				end=-300
				image="units/human-loyalists/dragoon-ranged-6.png"
				sound=crossbow-miss.ogg
			[/frame]
			[frame]
				begin=-300
				end=-0
				image="units/human-loyalists/dragoon-ranged-7.png"
			[/frame]
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-1100
				end=-1000
				image="units/human-loyalists/dragoon-ranged-1.png"
			[/frame]
			[frame]
				begin=-1000
				end=-900
				image="units/human-loyalists/dragoon-ranged-2.png"
			[/frame]
			[frame]
				begin=-800
				end=-700
				image="units/human-loyalists/dragoon-ranged-3.png"
			[/frame]
			[frame]
				begin=-700
				end=-600
				image="units/human-loyalists/dragoon-ranged-4.png"
			[/frame]
			[frame]
				begin=-600
				end=-500
				image="units/human-loyalists/dragoon-ranged-5.png"
			[/frame]
			[frame]
				begin=-500
				end=-300
				image="units/human-loyalists/dragoon-ranged-6.png"
				sound=crossbow.ogg
			[/frame]
			[frame]
				begin=-300
				end=-0
				image="units/human-loyalists/dragoon-ranged-7.png"
			[/frame]
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
		[/animation]
	[/attack]
[/unit]
