[unit]
	id=Master at Arms
	name= _ "Master at Arms"
	race=human
	image="units/human-loyalists/master-at-arms.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=57
	movement_type=elusivefoot
	movement=7
	experience=100
	level=3
	alignment=lawful
	advanceto=null
	{AMLA_TOUGH 3}
	cost=44
	usage=mixed fighter
	unit_description= _ "Master fencers have an envied place in life. Though theirs is a reckless and dangerous way of life, they have reached the time wherein they reap its rewards. Famed for their skill, and their rakish manner, these gentlemen have the bearing of natural aristocrats, and are followed by the eyes of many a high born lady.

They usually have the luxury of choosing their appointments, and are free to roam the land should they so choose. Often, they will be found as the captains of a castle guard, or as the master of a military academy, positions in which their flamboyant nature is not only accepted, but is perhaps even useful.

Special Notes:"+{SPECIAL_NOTES_SKIRMISHER}
	get_hit_sound={SOUND_LIST:HUMAN_HIT}
	die_sound={SOUND_LIST:HUMAN_DIE}
	[abilities]
		{ABILITY_SKIRMISHER}
	[/abilities]
	[attack]
		name=sabre
		icon=attacks/sabre-human.png
		type=blade
		range=melee
		damage=7
		number=5
		[animation]
			[frame]
				begin=-200
				end=-175
				image="units/human-loyalists/master-at-arms.png"
			[/frame]
			[frame]
				begin=-175
				end=-125
				image="units/human-loyalists/master-at-arms-melee-1-1.png"
			[/frame]
			[frame]
				begin=-125
				end=-75
				image="units/human-loyalists/master-at-arms-melee-1-2.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-75
					end=75
					image="units/human-loyalists/master-at-arms-melee-1-3.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-75
					end=75
					image="units/human-loyalists/master-at-arms-melee-1-3.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/else]
			[frame]
				begin=75
				end=125
				image="units/human-loyalists/master-at-arms-recover-1.png"
			[/frame]
			[frame]
				begin=125
				end=175
				image="units/human-loyalists/master-at-arms-recover-2.png"
			[/frame]
			[frame]
				begin=175
				end=200
				image="units/human-loyalists/master-at-arms.png"
			[/frame]
		[/animation]
		[animation]
			[frame]
				begin=-200
				end=-175
				image="units/human-loyalists/master-at-arms.png"
			[/frame]
			[frame]
				begin=-175
				end=-125
				image="units/human-loyalists/master-at-arms-melee-2-1.png"
			[/frame]
			[frame]
				begin=-125
				end=-75
				image="units/human-loyalists/master-at-arms-melee-2-2.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-75
					end=75
					image="units/human-loyalists/master-at-arms-melee-2-3.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-75
					end=75
					image="units/human-loyalists/master-at-arms-melee-1-3.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/else]
			[frame]
				begin=75
				end=125
				image="units/human-loyalists/master-at-arms-recover-1.png"
			[/frame]
			[frame]
				begin=125
				end=175
				image="units/human-loyalists/master-at-arms-recover-2.png"
			[/frame]
			[frame]
				begin=175
				end=200
				image="units/human-loyalists/master-at-arms.png"
			[/frame]
		[/animation]
		[animation]
			[frame]
				begin=-200
				end=-175
				image="units/human-loyalists/master-at-arms.png"
			[/frame]
			[frame]
				begin=-175
				end=-125
				image="units/human-loyalists/master-at-arms-melee-2-1.png"
			[/frame]
			[frame]
				begin=-125
				end=-75
				image="units/human-loyalists/master-at-arms-melee-2-2.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-75
					end=75
					image="units/human-loyalists/master-at-arms-melee-3-3.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-75
					end=75
					image="units/human-loyalists/master-at-arms-melee-1-3.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/else]
			[frame]
				begin=75
				end=125
				image="units/human-loyalists/master-at-arms-recover-1.png"
			[/frame]
			[frame]
				begin=125
				end=175
				image="units/human-loyalists/master-at-arms-recover-2.png"
			[/frame]
			[frame]
				begin=175
				end=200
				image="units/human-loyalists/master-at-arms.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=crossbow
		icon=attacks/crossbow-human.png
		type=pierce
		range=ranged
		damage=20
		number=1
		[animation]
			hits=no
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
			[frame]
				begin=-350
				end=50
				image="units/human-loyalists/master-at-arms.png"
				sound=crossbow-miss.ogg
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
			[frame]
				begin=-350
				end=50
				image="units/human-loyalists/master-at-arms.png"
				sound=crossbow.ogg
			[/frame]
		[/animation]
	[/attack]
[/unit]
