[unit]
	id=Commander
	name= _ "Commander"
	race=human
	image="konrad-commander.png"
	[leading_anim]
		[frame]
			begin=-150
			end=150
			image="konrad-commander-leading.png"
		[/frame]
	[/leading_anim]
	profile=portraits/konrad.png
	hitpoints=45
	[abilities]
		{ABILITY_LEADERSHIP_LEVEL_2}
	[/abilities]
	movement_type=smallfoot
	movement=6
	experience=60
	level=2
	alignment=lawful
	advanceto=Lord
	cost=36
	usage=mixed fighter
	unit_description= _ "The rank of Commander is held by those who lead battle groups into combat. Possessing leadership skills, they give lower-level units in adjacent hexes improved performance in combat. Commanders are best skilled with the sword, although they also carry a bow to use when necessary. If the Commander is lost, so is the battle."
	die_sound={SOUND_LIST:HUMAN_DIE}
	[attack]
		name=sword
		icon=attacks/sword-human.png
		type=blade
		range=melee
		damage=8
		number=4
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-175
				image="konrad-commander.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="konrad-commander-attack-1.png"
			[/frame]
			[frame]
				begin=-100
				end=50
				image="konrad-commander-attack-2.png"
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
			[frame]
				begin=50
				end=125
				image="konrad-commander-attack-3.png"
			[/frame]
			[frame]
				begin=125
				end=200
				image="konrad-commander-attack-4.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-175
				image="konrad-commander.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="konrad-commander-attack-1.png"
			[/frame]
			[frame]
				begin=-100
				end=50
				image="konrad-commander-attack-2.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=50
				end=125
				image="konrad-commander-attack-3.png"
			[/frame]
			[frame]
				begin=125
				end=200
				image="konrad-commander-attack-4.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=bow
		type=pierce
		range=ranged
		damage=6
		number=3
		[animation]
			hits=no
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
			[frame]
				begin=-475
				end=-400
				image="konrad-commander-bow.png"
			[/frame]
			[frame]
				begin=-400
				end=-325
				image="konrad-commander-bow-attack1.png"
			[/frame]
			[frame]
				begin=-325
				end=-250
				image="konrad-commander-bow-attack2.png"
				sound=bow-miss.ogg
			[/frame]
			[frame]
				begin=-250
				end=-175
				image="konrad-commander-bow-attack3.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="konrad-commander-bow-attack4.png"
			[/frame]
			[frame]
				begin=-100
				end=0
				image="konrad-commander-bow.png"
			[/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=-475
				end=-400
				image="konrad-commander-bow.png"
			[/frame]
			[frame]
				begin=-400
				end=-325
				image="konrad-commander-bow-attack1.png"
			[/frame]
			[frame]
				begin=-325
				end=-250
				image="konrad-commander-bow-attack2.png"
				sound=bow.ogg
			[/frame]
			[frame]
				begin=-250
				end=-175
				image="konrad-commander-bow-attack3.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="konrad-commander-bow-attack4.png"
			[/frame]
			[frame]
				begin=-100
				end=0
				image="konrad-commander-bow.png"
			[/frame]
		[/animation]
	[/attack]
	{DEFENSE_ANIM_FILTERED "konrad-commander-defend.png" "konrad-commander.png" {SOUND_LIST:HUMAN_HIT} range=melee}
	{DEFENSE_ANIM_FILTERED "konrad-commander-bow-defend.png" "konrad-commander.png" {SOUND_LIST:HUMAN_HIT} range=ranged}
	[variation]
		variation_name=scepter
		id=Commander
		name= _ "Commander"
		race=human
		image="konrad-commander.png"
		[leading_anim]
			[frame]
				begin=-150
				end=150
				image="konrad-commander-leading.png"
			[/frame]
		[/leading_anim]
		profile=portraits/konrad.png
		hitpoints=45
		[abilities]
			{ABILITY_LEADERSHIP_LEVEL_2}
		[/abilities]
		movement_type=smallfoot
		movement=6
		experience=60
		level=2
		alignment=lawful
		advanceto=Lord
		cost=42
		usage=mixed fighter
		unit_description= _ "The rank of Commander is held by those who lead battle groups into combat. Possessing leadership skills, they give lower-level units in adjacent hexes improved performance in combat. Commanders are best skilled with the sword, although they also carry a bow to use when necessary. If the Commander is lost, so is the battle."
		die_sound={SOUND_LIST:HUMAN_DIE}
		[attack]
			name=sword
			icon=attacks/sword-human.png
			type=blade
			range=melee
			damage=8
			number=4
			[animation]
				hits=yes
				[frame]
					begin=-200
					end=-175
					image="konrad-commander.png"
				[/frame]
				[frame]
					begin=-175
					end=-100
					image="konrad-commander-attack-1.png"
				[/frame]
				[frame]
					begin=-100
					end=50
					image="konrad-commander-attack-2.png"
					sound={SOUND_LIST:SWORD_SWISH}
				[/frame]
				[frame]
					begin=50
					end=125
					image="konrad-commander-attack-3.png"
				[/frame]
				[frame]
					begin=125
					end=200
					image="konrad-commander-attack-4.png"
				[/frame]
			[/animation]
			[animation]
				hits=no
				[frame]
					begin=-200
					end=-175
					image="konrad-commander.png"
				[/frame]
				[frame]
					begin=-175
					end=-100
					image="konrad-commander-attack-1.png"
				[/frame]
				[frame]
					begin=-100
					end=50
					image="konrad-commander-attack-2.png"
					sound={SOUND_LIST:MISS}
				[/frame]
				[frame]
					begin=50
					end=125
					image="konrad-commander-attack-3.png"
				[/frame]
				[frame]
					begin=125
					end=200
					image="konrad-commander-attack-4.png"
				[/frame]
			[/animation]
		[/attack]
		[attack]
			name=scepter of fire
			type=fire
			range=ranged
			[specials]
				{WEAPON_SPECIAL_MAGICAL}
			[/specials]
			icon=attacks/fireball.png
			damage=16
			number=4
			[animation]
				{MISSILE_FRAME_FIREBALL}
				
				[frame]
					sound=fire.wav
					begin=-200
					end=0
				[/frame]
			[/animation]
		[/attack]
		{DEFENSE_ANIM_FILTERED "konrad-commander-defend.png" "konrad-commander.png" {SOUND_LIST:HUMAN_HIT} range=melee}
		{DEFENSE_ANIM_FILTERED "konrad-commander-bow-defend.png" "konrad-commander.png" {SOUND_LIST:HUMAN_HIT} range=ranged}
	[/variation]
[/unit]
