[unit]
	id=Skeleton Archer
	name= _ "Skeleton Archer"
	race=undead
	image="units/undead-skeletal/archer.png"
	ellipse="misc/ellipse"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=31
	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 masters' 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]
			[frame]
				begin=-200
				end=-100
				image="units/undead-skeletal/archer.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-100
					end=100
					image="units/undead-skeletal/archer-attack.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-100
					end=100
					image="units/undead-skeletal/archer-attack.png"
					sound=fist.ogg
				[/frame]
			[/else]
			[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]
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-n.png"
				image_diagonal="projectiles/missile-ne.png"
			[/missile_frame]
			[if]
				hits=yes
				[frame]
					begin=-400
					end=-250
					image="units/undead-skeletal/archer-attack1.png"
					sound=bow.ogg
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-400
					end=-250
					image="units/undead-skeletal/archer-attack1.png"
					sound=bow-miss.ogg
				[/frame]
			[/else]
			[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]
	[idle_anim]
		{STANDARD_IDLE_FILTER}
		[frame]
			begin=0
			end=100
			image="units/undead-skeletal/archer-idle-1.png"
		[/frame]
		[frame]
			begin=100
			end=200
			image="units/undead-skeletal/archer-idle-2.png"
		[/frame]
		[frame]
			begin=200
			end=300
			image="units/undead-skeletal/archer-idle-3.png"
		[/frame]
		[frame]
			begin=300
			end=400
			image="units/undead-skeletal/archer-idle-4.png"
		[/frame]
		[frame]
			begin=400
			end=500
			image="units/undead-skeletal/archer-idle-5.png"
		[/frame]
		[frame]
			begin=500
			end=900
			image="units/undead-skeletal/archer-idle-6.png"
		[/frame]
		[frame]
			begin=900
			end=1000
			image="units/undead-skeletal/archer-idle-7.png"
		[/frame]
		[frame]
			begin=1000
			end=1100
			image="units/undead-skeletal/archer-idle-8.png"
		[/frame]
		[frame]
			begin=1100
			end=1200
			image="units/undead-skeletal/archer-idle-9.png"
		[/frame]
		[frame]
			begin=1200
			end=1300
			image="units/undead-skeletal/archer-idle-10.png"
		[/frame]
		[frame]
			begin=1300
			end=1400
			image="units/undead-skeletal/archer-idle-11.png"
		[/frame]
		[frame]
			begin=1400
			end=1800
			image="units/undead-skeletal/archer-idle-12.png"
		[/frame]
		[frame]
			begin=1800
			end=1900
			image="units/undead-skeletal/archer-idle-13.png"
		[/frame]
		[frame]
			begin=1900
			end=2000
			image="units/undead-skeletal/archer-idle-14.png"
		[/frame]
	[/idle_anim]
[/unit]
