[unit]
	id=Royal Guard
	name= _ "Royal Guard"
	race=human
	image="units/human-loyalists/royalguard.png"
	profile="portraits/Jason_Lutes/human-royalguard.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=74
	movement_type=smallfoot
	movement=6
	experience=100
	level=3
	alignment=lawful
	advanceto=null
	{AMLA_TOUGH 3}
	cost=43
	usage=fighter
	unit_description= _ "Royal Guards are picked from the best swordsmen in Wesnoth. Serving under any of the higher nobility, they function as bodyguards, and partly as a badge of office for their employers. A special force of Royal Guards is stationed at the capitol, guarding the palace grounds and the royal family. Because of their trusted relationship to their superiors, they, rather than mercenaries, are often deployed on missions of crucial import. Their reliability and mastery of close combat are their best assets, for which they are well-renowned."
	die_sound={SOUND_LIST:HUMAN_DIE}
	{DEFENSE_ANIM "units/human-loyalists/royalguard-defend.png" "units/human-loyalists/royalguard.png" {SOUND_LIST:HUMAN_HIT} }
	[resistance]
		blade=80
		impact=80
	[/resistance]
	[attack]
		name=sword
		icon=attacks/greatsword-human.png
		type=blade
		range=melee
		damage=12
		number=4
		[animation]
			[frame]
				begin=-225
				end=-175
				image="units/human-loyalists/royalguard.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="units/human-loyalists/royalguard-attack.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-100
					end=100
					image="units/human-loyalists/royalguard-attack2.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-100
					end=100
					image="units/human-loyalists/royalguard-attack2.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=100
				end=175
				image="units/human-loyalists/royalguard-defend.png"
			[/frame]
			[frame]
				begin=175
				end=200
				image="units/human-loyalists/royalguard.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
