#define DESERT_HUNTER NUM COST
[unit]
#textdomain wesnoth-utbs
	id=Desert Hunter{NUM}
	name= _ "Desert Hunter"
	race=elf
	gender=male,female
	image=newelves/desert-elvish-hunter.png
	hitpoints=30
	movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
	[movement_costs]
		sand=1
		forest=2
		cave=2
		tundra=3
	[/movement_costs]
	[defense]
		sand=40
		forest=50
	[/defense]
	movement=6
	experience=42
	level=1
	alignment=lawful
	advanceto=Desert Sentinel
	cost={COST}
	usage=mixed fighter
	unit_description= _ "Desert Hunters are trained to scour the sands for prey and enemies. They can quickly entangle others with their bolas and then finish them off with their swords."
	die_sound={SOUND_LIST:ELF_HIT}
	{DEFENSE_ANIM "newelves/desert-elvish-hunter-defend.png" newelves/desert-elvish-hunter.png {SOUND_LIST:ELF_HIT} }
	[attack]
		name=sword
		description= _"sword"
		type=blade
		range=melee
		damage=5
		number=4
		icon=attacks/sword-elven.png
		[animation]
		hits=no
			[frame]
				begin=-101
				end=100
				image=newelves/desert-elvish-hunter-melee.png
				sound={SOUND_LIST:MISS}
			[/frame]
		[/animation]
		[animation]
		hits=yes
			[frame]
				begin=-101
				end=100
				image=newelves/desert-elvish-hunter-melee.png
				sound={SOUND_LIST:SWORD_SWISH}
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=bola
		description= _"bola"
		type=impact
		range=ranged
		damage=4
		number=2
		[specials]
			{WEAPON_SPECIAL_SLOW}
		[/specials]
		icon=attacks/bolas.png
		[animation]
			[missile_frame]
				begin=-100
				end=0
				image=projectiles/bola-n.png
				image_diagonal=projectiles/bola-ne.png
			[/missile_frame]
			[frame]
				begin=-400
				end=-250
				image=newelves/desert-elvish-hunter-ranged-1.png
				sound=hatchet.ogg
			[/frame]
			[frame]
				begin=-250
				end=-150
				image=newelves/desert-elvish-hunter-ranged-2.png
			[/frame]
			[frame]
				begin=-150
				end=0
				image=newelves/desert-elvish-hunter-ranged-3.png
				sound=firearrow.wav
			[/frame]
		[/animation]
	[/attack]
	[female]
		name= _ "female^Desert Hunter"
		gender=female
		die_sound={SOUND_LIST:ELF_FEMALE_HIT}
		{DEFENSE_ANIM "newelves/desert-elvish-hunter-defend.png" newelves/desert-elvish-hunter.png {SOUND_LIST:ELF_FEMALE_HIT} }
	[/female]
[/unit]
#enddef

{DESERT_HUNTER "" 20}
{DESERT_HUNTER 2 21}
{DESERT_HUNTER 3 22}
{DESERT_HUNTER 4 23}
{DESERT_HUNTER 5 24}
{DESERT_HUNTER 6 25}
{DESERT_HUNTER 7 26}
{DESERT_HUNTER 8 27}
{DESERT_HUNTER 9 28}
{DESERT_HUNTER 10 29}
{DESERT_HUNTER 11 30}
