[unit]
	id=Elvish Fighter
	name= _ "Elvish Fighter"
	race=elf
	image="units/elves-wood/fighter.png"
	image_long="units/elves-wood/fighter-bow.png"
	ellipse="misc/ellipse"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=33
	movement_type=woodland
	{LESS_NIMBLE_ELF}
	movement=5
	experience=40
	level=1
	alignment=neutral
	advanceto=Elvish Captain,Elvish Hero
	cost=14
	usage=fighter
	unit_description= _ "Elves are not warlike by nature, but in times of need, their natural grace and agility serve them well, as does their skillful craftsmanship. An elf can grasp the basics of swordsmanship and archery in an uncannily short time, and put them to effective use on the battlefield."
	die_sound={SOUND_LIST:ELF_HIT}
	[attack]
		name=sword
		icon=attacks/sword-elven.png
		type=blade
		range=melee
		damage=5
		number=4
		[animation]
			hits=no
			[frame]
				begin=-175
				end=-100
				image="units/elves-wood/fighter.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/elves-wood/fighter-melee-1.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/elves-wood/fighter-melee-2.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/elves-wood/fighter.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-175
				end=-100
				image="units/elves-wood/fighter.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/elves-wood/fighter-melee-1.png"
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/elves-wood/fighter-melee-2.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/elves-wood/fighter.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=bow
		icon=attacks/bow-elven.png
		type=pierce
		range=ranged
		damage=3
		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=-445
				end=-380
				image="units/elves-wood/fighter-bow.png"
			[/frame]
			[frame]
				begin=-380
				end=-305
				image="units/elves-wood/fighter-bow-attack1.png"
				sound=bow-miss.ogg
			[/frame]
			[frame]
				begin=-305
				end=-230
				image="units/elves-wood/fighter-bow-attack2.png"
			[/frame]
			[frame]
				begin=-230
				end=-130
				image="units/elves-wood/fighter-bow-attack3.png"
			[/frame]
			[frame]
				begin=-130
				end=0
				image="units/elves-wood/fighter-bow-attack4.png"
			[/frame]
			[frame]
				begin=0
				end=65
				image="units/elves-wood/fighter-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/fighter-bow.png"
			[/frame]
			[frame]
				begin=-380
				end=-305
				image="units/elves-wood/fighter-bow-attack1.png"
				sound=bow.ogg
			[/frame]
			[frame]
				begin=-305
				end=-230
				image="units/elves-wood/fighter-bow-attack2.png"
			[/frame]
			[frame]
				begin=-230
				end=-130
				image="units/elves-wood/fighter-bow-attack3.png"
			[/frame]
			[frame]
				begin=-130
				end=0
				image="units/elves-wood/fighter-bow-attack4.png"
			[/frame]
			[frame]
				begin=0
				end=65
				image="units/elves-wood/fighter-bow.png"
			[/frame]
		[/animation]
	[/attack]
	{DEFENSE_ANIM_FILTERED "units/elves-wood/fighter-defend.png" "units/elves-wood/fighter.png" {SOUND_LIST:ELF_HIT} range=melee }
	{DEFENSE_ANIM_FILTERED "units/elves-wood/fighter-bow-defend.png" "units/elves-wood/fighter.png" {SOUND_LIST:ELF_HIT} range=ranged }
[/unit]
