[unit]
	id=Orcish Crossbowman
	name= _ "Orcish Crossbowman"
	race=orc
	image="units/orcs/xbowman.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=43
	movement_type=orcishfoot
	movement=5
	experience=80
	level=2
	alignment=chaotic
	advanceto=Orcish Slurbow
	undead_variation=archer
	cost=26
	usage=archer
	unit_description= _ "Orcish Crossbowmen try to compensate for their lack of skill with the raw power of their weapon. While they are not as effective as the Elvish Marksmen in long-range combat, they are sturdier and can handle themselves a little better than the Elves in close combat."
	die_sound={SOUND_LIST:ORC_DIE}
	{DEFENSE_ANIM "units/orcs/xbowman-defend.png" "units/orcs/xbowman.png" {SOUND_LIST:ORC_HIT} }
	[attack]
		name=short sword
		icon=attacks/sword-orcish.png
		type=blade
		range=melee
		damage=4
		number=3
		[animation]
			hits=no
			[frame]
				begin=-200
				end=-150
				image="units/orcs/xbowman.png"
			[/frame]
			[frame]
				begin=-150
				end=100
				image="units/orcs/xbowman-attack.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/orcs/xbowman.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[frame]
				begin=-200
				end=-150
				image="units/orcs/xbowman.png"
			[/frame]
			[frame]
				begin=-150
				end=100
				image="units/orcs/xbowman-attack.png"
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/orcs/xbowman.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=crossbow
		icon=attacks/crossbow-orcish.png
		type=pierce
		range=ranged
		damage=8
		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=-300
				end=-150
				image="units/orcs/xbowman-ranged-1.png"
				sound=crossbow-miss.ogg
			[/frame]
			[frame]
				begin=-150
				end=0
				image="units/orcs/xbowman-ranged-2.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=-300
				end=-150
				image="units/orcs/xbowman-ranged-1.png"
				sound=crossbow.ogg
			[/frame]
			[frame]
				begin=-150
				end=0
				image="units/orcs/xbowman-ranged-2.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=crossbow
		icon=attacks/crossbow-orcish.png
		type=fire
		range=ranged
		damage=10
		number=2
		[animation]
			hits=no
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-fire-n.png"
				image_diagonal="projectiles/missile-fire-ne.png"
			[/missile_frame]
			[frame]
				begin=-300
				end=-100
				image="units/orcs/xbowman-ranged-1.png"
				sound=crossbow-fire-miss.ogg
			[/frame]
			[frame]
				begin=-100
				end=0
				image="units/orcs/xbowman-ranged-2.png"
			[/frame]
		[/animation]
		[animation]
			hits=yes
			[missile_frame]
				begin=-150
				end=0
				image="projectiles/missile-fire-n.png"
				image_diagonal="projectiles/missile-fire-ne.png"
			[/missile_frame]
			[frame]
				begin=-300
				end=-100
				image="units/orcs/xbowman-ranged-1.png"
				sound=crossbow-fire.ogg
			[/frame]
			[frame]
				begin=-100
				end=0
				image="units/orcs/xbowman-ranged-2.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
