[unit]
	id=Soul Shooter
	name= _ "Soul Shooter"
	race=undead
	image="units/undead-skeletal/soulshooter.png"
	image_long="units/undead-skeletal/soulshooter-ranged.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=50
	movement_type=undeadfoot
	movement=5
	experience=100
	level=3
	alignment=chaotic
	advanceto=null
	{AMLA_TOUGH 3}
	cost=38
	unit_description= _ "The most powerful of the undead archers invariably end up being those who were themselves archers in their previous life. They wander the fields of battle, guided by the fading memory of their former skill, neither knowing, nor caring what their purpose, or foes be. They are driven only by a malice borne of the anguish of their empty and incoherent existence.

Special Notes:"+{SPECIAL_NOTES_SUBMERGE}
	usage=archer
	die_sound=skeleton-big-die.ogg
	[abilities]
		{ABILITY_SUBMERGE}
	[/abilities]
	[resistance]
		blade=60
		pierce=40
		impact=120
	[/resistance]
	[attack]
		name=dagger
		icon=attacks/dagger-undead.png
		type=blade
		range=melee
		damage=8
		number=2
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-100
				image="units/undead-skeletal/soulshooter.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/undead-skeletal/soulshooter-attack.png"
				sound=dagger-swish.wav
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/undead-skeletal/soulshooter.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-100
				image="units/undead-skeletal/soulshooter.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/undead-skeletal/soulshooter-attack.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/undead-skeletal/soulshooter.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=bow
		icon=attacks/bow-orcish.png
		type=pierce
		range=ranged
		damage=14
		number=3
		[animation]
			hits=no
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/bone-n.png"
				image_diagonal="projectiles/bone-ne.png"
			[/missile_frame]
			[frame]
				begin=-445
				end=-380
				image="units/undead-skeletal/soulshooter-ranged.png"
			[/frame]
			[frame]
				begin=-380
				end=-305
				image="units/undead-skeletal/soulshooter-ranged1.png"
				sound=bow-miss.ogg
			[/frame]
			[frame]
				begin=-305
				end=-230
				image="units/undead-skeletal/soulshooter-ranged2.png"
			[/frame]
			[frame]
				begin=-230
				end=-130
				image="units/undead-skeletal/soulshooter-ranged3.png"
			[/frame]
			[frame]
				begin=-130
				end=0
				image="units/undead-skeletal/soulshooter-ranged4.png"
			[/frame]
			[frame]
				begin=0
				end=65
				image="units/undead-skeletal/soulshooter-ranged5.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/bone-n.png"
				image_diagonal="projectiles/bone-ne.png"
			[/missile_frame]
			[frame]
				begin=-445
				end=-380
				image="units/undead-skeletal/soulshooter-ranged.png"
			[/frame]
			[frame]
				begin=-380
				end=-305
				image="units/undead-skeletal/soulshooter-ranged1.png"
				sound=bow.ogg
			[/frame]
			[frame]
				begin=-305
				end=-230
				image="units/undead-skeletal/soulshooter-ranged2.png"
			[/frame]
			[frame]
				begin=-230
				end=-130
				image="units/undead-skeletal/soulshooter-ranged3.png"
			[/frame]
			[frame]
				begin=-130
				end=0
				image="units/undead-skeletal/soulshooter-ranged4.png"
			[/frame]
			[frame]
				begin=0
				end=65
				image="units/undead-skeletal/soulshooter-ranged5.png"
			[/frame]
		[/animation]
	[/attack]
	{DEFENSE_ANIM_FILTERED "units/undead-skeletal/soulshooter-defend.png" "units/undead-skeletal/soulshooter.png" skeleton-big-hit.ogg range=melee }
	{DEFENSE_ANIM_FILTERED "units/undead-skeletal/soulshooter-ranged.png" "units/undead-skeletal/soulshooter.png" skeleton-big-hit.ogg range=ranged }
[/unit]
