[unit]
#textdomain wesnoth-tsg
	id=Horseman Commander
	name= _ "Horseman Commander"
	race=human
	image=deoran/horseman-commander.png
	ellipse="misc/ellipse-leader"
	image_leading=deoran/horseman-commander-defend.png
	profile=portraits/deoran.png
	hitpoints=38
	alignment=lawful
	cost=32
	movement_type=mounted
	movement=7
	level=2
	advanceto=null
	{AMLA_TOUGH 4}
	{AMLA_BARBED_LANCE lance}
	{AMLA_MACE}
	experience=40
	usage=fighter
	[abilities]
		{ABILITY_LEADERSHIP_LEVEL_2}
	[/abilities]
	unit_description= _ "Leaders of the border guards, mounted commanders are trained not only to ride and fight, but to lead. They command the garrisons that keep peace in the provinces of Wesnoth."
	die_sound=horse-die.ogg
	[attack]
		name=lance
		description= _"lance"
		type=pierce
		[specials]
			{WEAPON_SPECIAL_CHARGE}
		[/specials]
		range=melee
		damage=6
		number=3
		[animation]
			[frame]
				begin=-225
				end=-200
				image=deoran/horseman-commander.png
				sound=horse-canter.wav
			[/frame]
			[frame]
				begin=-200
				end=-100
				image=deoran/horseman-commander-moving.png
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-100
					end=100
					image=deoran/horseman-commander-attack.png
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-100
					end=100
					image=deoran/horseman-commander-attack.png
					sound=spear.wav
				[/frame]
			[/else]
			[frame]
				begin=100
				end=175
				image=deoran/horseman-commander-moving.png
			[/frame]
			[frame]
				begin=175
				end=200
				image=deoran/horseman-commander.png
			[/frame]
		[/animation]
	[/attack]
	[movement_anim]
		[frame]
			begin=0
			end=150
			image=deoran/horseman-commander-moving.png
		[/frame]
	[/movement_anim]
	{DEFENSE_ANIM "deoran/horseman-commander-defend.png" "deoran/horseman-commander.png" {SOUND_LIST:HORSE_HIT} }
[/unit]
