[unit]
	id=Skeleton Archer
	name= _ "Skeleton Archer"
	race=undead
	image="units/undead-skeletal/archer.png"
	ellipse="misc/ellipse"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=30
	movement_type=undeadfoot
	movement=5
	experience=35
	level=1
	alignment=chaotic
	advanceto=Bone Shooter
	cost=14
	unit_description= _ "A skeleton archer is little different from the 'skeletons' which often accompany it - it is a sin against nature, a warrior raised from the dead to fight once again. In their master's hands, these soldiers will do anything to achieve the tasks laid before them, for death holds no fear for one who is already dead.

Special Notes:"+{SPECIAL_NOTES_SUBMERGE}
	usage=archer
	die_sound=skeleton-die.ogg
	{DEFENSE_ANIM "units/undead-skeletal/archer-defend.png" "units/undead-skeletal/archer.png" skeleton-hit.wav }
	[abilities]
		{ABILITY_SUBMERGE}
	[/abilities]
	[resistance]
		blade=60
		pierce=40
		impact=120
	[/resistance]
	[attack]
		name=fist
		icon=attacks/fist-skeletal.png
		type=impact
		range=melee
		damage=3
		number=2
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-100
				image="units/undead-skeletal/archer.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/undead-skeletal/archer-attack.png"
				sound=fist.ogg
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/undead-skeletal/archer.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-100
				image="units/undead-skeletal/archer.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/undead-skeletal/archer-attack.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/undead-skeletal/archer.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=bow
		icon=attacks/bow-orcish.png
		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=-400
				end=-250
				image="units/undead-skeletal/archer-attack1.png"
				sound=bow-miss.ogg
			[/frame]
			[frame]
				begin=-250
				end=-100
				image="units/undead-skeletal/archer-attack2.png"
			[/frame]
			[frame]
				begin=-100
				end=0
				image="units/undead-skeletal/archer.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=-400
				end=-250
				image="units/undead-skeletal/archer-attack1.png"
				sound=bow.ogg
			[/frame]
			[frame]
				begin=-250
				end=-100
				image="units/undead-skeletal/archer-attack2.png"
			[/frame]
			[frame]
				begin=-100
				end=0
				image="units/undead-skeletal/archer.png"
			[/frame]
		[/animation]
	[/attack]
	[death]
		[frame]
			begin=0
			end=100
			image="units/undead-skeletal/archer-die-1.png"
		[/frame]
		[frame]
			begin=100
			end=200
			image="units/undead-skeletal/archer-die-2.png"
		[/frame]
		[frame]
			begin=200
			end=300
			image="units/undead-skeletal/archer-die-3.png"
		[/frame]
		[frame]
			begin=300
			end=400
			image="units/undead-skeletal/archer-die-4.png"
		[/frame]
		[frame]
			begin=400
			end=500
			image="units/undead-skeletal/archer-die-5.png"
		[/frame]
		[frame]
			begin=500
			end=600
			image="units/undead-skeletal/archer-die-6.png"
		[/frame]
		[frame]
			begin=600
			end=700
			image="units/undead-skeletal/archer-die-7.png"
			[frame]
			[/frame]
			begin=700
			end=800
			image="units/undead-skeletal/archer-die-8.png"
		[/frame]
		[frame]
			begin=800
			end=900
			image="units/undead-skeletal/archer-die-9.png"
		[/frame]
		[frame]
			begin=900
			end=1000
			image="units/undead-skeletal/archer-die-10.png"
		[/frame]
		[frame]
			begin=1000
			end=1100
			image="units/undead-skeletal/archer-die-11.png"
		[/frame]
		[frame]
			begin=1100
			end=1200
			image="units/undead-skeletal/archer-die-12.png"
		[/frame]
		[frame]
			begin=1200
			end=1300
			image="units/undead-skeletal/archer-die-13.png"
		[/frame]
	[/death]
[/unit]
