[unit]
#textdomain wesnoth-tsg
	id=South Guard Commander
	name= _ "Infantry Commander"
	race=human
	image="gerrick/assault-commander.png"
	ellipse="misc/ellipse-hero"
	image_leading="gerrick/assault-commander-leading.png"
	profile=portraits/sir-gerrick.png
	hitpoints=54
	alignment=lawful
	cost=70
	movement_type=armoredfoot
	movement=5
	level=3
	advanceto=null
	{AMLA_TOUGH 5}
	{AMLA_COURAGEOUS glaive}
	experience=50
	[abilities]
		{ABILITY_LEADERSHIP_LEVEL_3}
	[/abilities]
	usage=fighter
	unit_description= _ "Veteran commanders have faced battle many times and led their men with steady hands and calm determination."
	die_sound={SOUND_LIST:HUMAN_DIE}
	[attack]
		name=glaive
		description= _"glaive"
		icon=attacks/glaive.png
		type=blade
		range=melee
		damage=11
		number=3
		[animation]
			[frame]
				begin=-200
				end=-150
				image="gerrick/assault-commander.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-150
					end=50
					image="gerrick/assault-commander-attack.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-150
					end=50
					image="gerrick/assault-commander-attack.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
			[/else]
			[frame]
				begin=50
				end=150
				image="gerrick/assault-commander-attack-shield.png"
			[/frame]
			[frame]
				begin=150
				end=200
				image="gerrick/assault-commander.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=shield
		description= _"shield"
		type=impact
		range=melee
		damage=11
		number=1
		[specials]
			{WEAPON_SPECIAL_SLOW}
		[/specials]
		icon=attacks/rectangular-shield.png
		[animation]
			[frame]
				begin=-200
				end=-125
				image="gerrick/assault-commander.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-125
					end=100
					image="gerrick/assault-commander-attack-shield.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-125
					end=100
					image="gerrick/assault-commander-attack-shield.png"
					sound=mace.wav
				[/frame]
			[/else]
			[frame]
				begin=100
				end=175
				image="gerrick/assault-commander.png"
			[/frame]
		[/animation]
	[/attack]
	{DEFENSE_ANIM "gerrick/assault-commander-defend.png" "gerrick/assault-commander.png" {SOUND_LIST:HUMAN_HIT} }
[/unit]
