[unit]
	id=Elvish Archer
	name= _ "Elvish Archer"
	race=elf
	gender=male,female
	image="units/elves-wood/archer.png"
	image_long="units/elves-wood/archer-bow.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	ellipse="misc/ellipse"
	hitpoints=29
	movement_type=woodland
	movement=6
	experience=44
	level=1
	alignment=neutral
	advanceto=Elvish Ranger,Elvish Marksman
	undead_variation=archer
	cost=17
	usage=archer
	unit_description= _ "Elves have always had a reputation for archery, a skill that, for many reasons, comes naturally to them. Even the frail of body can be deadly with a bow in hand, and in times of war, many will take up this weapon. Though their relative inexperience with combat leaves them somewhat vulnerable, their natural grace ensures that they can best any of humanity's fresh recruits."
	die_sound={SOUND_LIST:ELF_HIT}
	[attack]
		name=sword
		icon=attacks/sword-elven.png
		type=blade
		range=melee
		damage=5
		number=2
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-175
				image="units/elves-wood/archer.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="units/elves-wood/archer-melee-1.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/elves-wood/archer-melee-2.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/elves-wood/archer-melee-1.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/elves-wood/archer.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-175
				image="units/elves-wood/archer.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="units/elves-wood/archer-melee-1.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/elves-wood/archer-melee-2.png"
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/elves-wood/archer-melee-1.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/elves-wood/archer.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=bow
		icon=attacks/bow-elven.png
		type=pierce
		range=ranged
		damage=5
		number=4
		[animation]
			hits=no
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
			[frame]
				begin=-445
				end=-380
				image="units/elves-wood/archer-bow.png"
			[/frame]
			[frame]
				begin=-380
				end=-305
				image="units/elves-wood/archer-bow-attack1.png"
				sound=bow-miss.ogg
			[/frame]
			[frame]
				begin=-305
				end=-230
				image="units/elves-wood/archer-bow-attack2.png"
			[/frame]
			[frame]
				begin=-230
				end=-130
				image="units/elves-wood/archer-bow-attack3.png"
			[/frame]
			[frame]
				begin=-130
				end=0
				image="units/elves-wood/archer-bow-attack4.png"
			[/frame]
			[frame]
				begin=0
				end=65
				image="units/elves-wood/archer-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=-445
				end=-380
				image="units/elves-wood/archer-bow.png"
			[/frame]
			[frame]
				begin=-380
				end=-305
				image="units/elves-wood/archer-bow-attack1.png"
				sound=bow.ogg
			[/frame]
			[frame]
				begin=-305
				end=-230
				image="units/elves-wood/archer-bow-attack2.png"
			[/frame]
			[frame]
				begin=-230
				end=-130
				image="units/elves-wood/archer-bow-attack3.png"
			[/frame]
			[frame]
				begin=-130
				end=0
				image="units/elves-wood/archer-bow-attack4.png"
			[/frame]
			[frame]
				begin=0
				end=65
				image="units/elves-wood/archer-bow.png"
			[/frame]
		[/animation]
	[/attack]
	{DEFENSE_ANIM_FILTERED "units/elves-wood/archer-defend.png" "units/elves-wood/archer.png" {SOUND_LIST:ELF_HIT} range=melee }
	{DEFENSE_ANIM_FILTERED "units/elves-wood/archer-bow-defend.png" "units/elves-wood/archer.png" {SOUND_LIST:ELF_HIT} range=ranged }
#	[death]
#		[frame]
#			begin=0
#			end=100
#			image="units/elves-wood/archer-die1.png"
#		[/frame]
#		[frame]
#			begin=100
#			end=200
#			image="units/elves-wood/archer-die2.png"
#		[/frame]
#		[frame]
#			begin=200
#			end=300
#			image="units/elves-wood/archer-die3.png"
#		[/frame]
#		[frame]
#			begin=300
#			end=400
#			image="units/elves-wood/archer-die4.png"
#		[/frame]
#	[/death]
	[female]
		name= _ "female^Elvish Archer"
		gender=female
		image="units/elves-wood/archer+female.png"
		die_sound={SOUND_LIST:ELF_FEMALE_HIT}
#		[death]
#			[frame]
#				image="units/elves-wood/archer+female-die1.png"
#			[/frame]
#			[frame]
#				image="units/elves-wood/archer+female-die2.png"
#			[/frame]
#			[frame]
#				image="units/elves-wood/archer+female-die3.png"
#			[/frame]
#			[frame]
#				image="units/elves-wood/archer+female-die4.png"
#			[/frame]
#		[/death]
		[attack]
			[animation]
				[frame]
					image="units/elves-wood/archer+female.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-melee-1.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-melee-2.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-melee-1.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female.png"
				[/frame]
			[/animation]
			[animation]
				[frame]
					image="units/elves-wood/archer+female.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-melee-1.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-melee-2.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-melee-1.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female.png"
				[/frame]
			[/animation]
		[/attack]
		[attack]
			[animation]
				[frame]
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack1.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack2.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack3.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack4.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
			[/animation]
			[animation]
				[frame]
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack1.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack2.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack3.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow-attack4.png"
				[/frame]
				[frame]
					image="units/elves-wood/archer+female-bow.png"
				[/frame]
			[/animation]
		[/attack]
		{DEFENSE_ANIM_FILTERED "units/elves-wood/archer+female-defend.png" "units/elves-wood/archer+female.png" {SOUND_LIST:ELF_FEMALE_HIT} range=melee}
		{DEFENSE_ANIM_FILTERED "units/elves-wood/archer+female-bow-defend.png" "units/elves-wood/archer+female.png" {SOUND_LIST:ELF_FEMALE_HIT} range=ranged}
	[/female]
[/unit]
