[unit]
	id=Bowman
	name= _ "Bowman"
	race=human
	gender=male
	image="units/human-loyalists/bowman.png"
	profile="portraits/Pekka_Aikio/human-bowman.png"
	ellipse="misc/ellipse"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=33
	movement_type=smallfoot
	movement=5
	experience=39
	level=1
	alignment=lawful
	advanceto=Longbowman
	undead_variation=archer
	cost=15
	usage=archer
	unit_description= _ "The use of archery in shooting something other than game was seen from its inception, and archers have been indispensable in warfare since time immemorial. Usually of humble origins, hailing from the peasantry or the odd woodsman, bowmen have reasonable prowess with both a bow and a short sword, and are very common on the battlefield."
	die_sound={SOUND_LIST:HUMAN_DIE}
	[attack]
		name=sword
		icon=attacks/sword-human.png
		type=blade
		range=melee
		damage=6
		number=2
		[animation]
			hits=yes
			[frame]
				begin=-250
				end=-175
				image="units/human-loyalists/bowman.png"
			[/frame]
			[frame]
				begin=-175
				end=-125
				image="units/human-loyalists/bowman-ranged-4.png"
			[/frame]
			[frame]
				begin=-125
				end=75
				image="units/human-loyalists/bowman-attack-sword.png"
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
			[frame]
				begin=75
				end=125
				image="units/human-loyalists/bowman-ranged-4.png"
			[/frame]
			[frame]
				begin=125
				end=175
				image="units/human-loyalists/bowman.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-250
				end=-175
				image="units/human-loyalists/bowman.png"
			[/frame]
			[frame]
				begin=-175
				end=-125
				image="units/human-loyalists/bowman-ranged-4.png"
			[/frame]
			[frame]
				begin=-125
				end=75
				image="units/human-loyalists/bowman-attack-sword.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=75
				end=125
				image="units/human-loyalists/bowman-ranged-4.png"
			[/frame]
			[frame]
				begin=125
				end=175
				image="units/human-loyalists/bowman.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=-600
				end=-525
				image="units/human-loyalists/bowman-ranged-1.png"
			[/frame]
			[frame]
				begin=-525
				end=-450
				image="units/human-loyalists/bowman-ranged-2.png"
			[/frame]
			[frame]
				begin=-450
				end=-375
				image="units/human-loyalists/bowman-ranged-3.png"
			[/frame]
			[frame]
				begin=-375
				end=-300
				image="units/human-loyalists/bowman-ranged-4.png"
				sound=bow-miss.ogg
			[/frame]
			[frame]
				begin=-300
				end=-225
				image="units/human-loyalists/bowman-ranged-5.png"
			[/frame]
			[frame]
				begin=-225
				end=-150
				image="units/human-loyalists/bowman-ranged-6.png"
			[/frame]
			[frame]
				begin=-150
				end=-75
				image="units/human-loyalists/bowman-ranged-7.png"
			[/frame]
			[frame]
				begin=-75
				end=-20
				image="units/human-loyalists/bowman-ranged-8.png"
			[/frame]
			[frame]
				begin=-20
				end=20
				image="units/human-loyalists/bowman-ranged-1.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=-600
				end=-525
				image="units/human-loyalists/bowman-ranged-1.png"
			[/frame]
			[frame]
				begin=-525
				end=-450
				image="units/human-loyalists/bowman-ranged-2.png"
			[/frame]
			[frame]
				begin=-450
				end=-375
				image="units/human-loyalists/bowman-ranged-3.png"
			[/frame]
			[frame]
				begin=-375
				end=-300
				image="units/human-loyalists/bowman-ranged-4.png"
				sound=bow.ogg
			[/frame]
			[frame]
				begin=-300
				end=-225
				image="units/human-loyalists/bowman-ranged-5.png"
			[/frame]
			[frame]
				begin=-225
				end=-150
				image="units/human-loyalists/bowman-ranged-6.png"
			[/frame]
			[frame]
				begin=-150
				end=-75
				image="units/human-loyalists/bowman-ranged-7.png"
			[/frame]
			[frame]
				begin=-75
				end=-20
				image="units/human-loyalists/bowman-ranged-8.png"
			[/frame]
			[frame]
				begin=-20
				end=20
				image="units/human-loyalists/bowman-ranged-1.png"
			[/frame]
		[/animation]
	[/attack]
	{DEFENSE_ANIM "units/human-loyalists/bowman-defend.png" "units/human-loyalists/bowman.png" {SOUND_LIST:HUMAN_HIT} }
[/unit]
