[unit]
	id=Halbardier
	name= _ "Halberdier"
	race=human
	image="units/human-loyalists/halberdier.png"
	profile="portraits/Jason_Lutes/human-halberdier.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=72
	movement_type=smallfoot
	movement=5
	experience=100
	level=3
	alignment=lawful
	advanceto=null
	{AMLA_TOUGH 3}
	cost=44
	usage=fighter
	unit_description= _ "A halberd is a difficult and very heavy weapon to use, but powerful in the hands of an expert. It is also much more flexible than the spear from which it descended. As any halberdier can tell you, the weapon possesses 4 primary striking points, 2 more than a spear or pike; these are the tip, the blade, the spike at the base of the shaft, and the inner point on the blade, which can be used in a motion pulling back towards the wielder. All this makes for a very versatile weapon in melee, especially against cavalry.

However, a halberd is notably more expensive to craft than a spear, and in the hands of a novice, much less effective. In the armies of Wesnoth, it is customary only to grant these weapons to veteran pikemen, who have proven that they have the skill to employ them properly on the field of war.

Special Notes:"+{SPECIAL_NOTES_FIRSTSTRIKE}
	die_sound={SOUND_LIST:HUMAN_DIE}
	{DEFENSE_ANIM "units/human-loyalists/halberdier-defend.png" "units/human-loyalists/halberdier.png" {SOUND_LIST:HUMAN_HIT} }
	[resistance]
		pierce=60
	[/resistance]
	[attack]
		name=halberd
		icon=attacks/halberd.png
		type=pierce
		range=melee
		damage=15
		number=3
		[specials]
			{WEAPON_SPECIAL_FIRSTSTRIKE}
		[/specials]
		[animation]
			direction=s
			hits=no
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-150
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=100
				image="units/human-loyalists/halberdier-pierce-s.png"
				sound=spear-miss.ogg
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/human-loyalists/halberdier-pierce-se.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			direction=s
			hits=yes
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-150
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-150
				end=100
				image="units/human-loyalists/halberdier-pierce-s.png"
				sound=spear.ogg
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/human-loyalists/halberdier-pierce-se.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			direction=n
			hits=no
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-pierce-ne.png"
			[/frame]
			[frame]
				begin=-150
				end=100
				image="units/human-loyalists/halberdier-pierce-n.png"
				sound=spear-miss.ogg
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/human-loyalists/halberdier-pierce-ne.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			direction=n
			hits=yes
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-pierce-ne.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/human-loyalists/halberdier-pierce-n.png"
				sound=spear.ogg
			[/frame]
			[frame]
				begin=100
				end=150
				image="units/human-loyalists/halberdier-pierce-ne.png"
			[/frame]
			[frame]
				begin=150
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			direction=se,sw
			hits=no
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/human-loyalists/halberdier-pierce-se.png"
				sound=spear-miss.ogg
			[/frame]
			[frame]
				begin=100
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			direction=se,sw
			hits=yes
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/human-loyalists/halberdier-pierce-se.png"
				sound=spear.ogg
			[/frame]
			[frame]
				begin=100
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			direction=ne,nw
			hits=no
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/human-loyalists/halberdier-pierce-ne.png"
				sound=spear-miss.ogg
			[/frame]
			[frame]
				begin=100
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			direction=ne,nw
			hits=yes
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/human-loyalists/halberdier-pierce-ne.png"
				sound=spear.ogg
			[/frame]
			[frame]
				begin=100
				end=175
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=halberd
		icon=attacks/halberd.png
		type=blade
		range=melee
		damage=19
		number=2
		[animation]
			hits=no
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-slash-se-1.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/human-loyalists/halberdier-slash-se-2.png"
				sound={SOUND_LIST:MISS}
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/human-loyalists/halberdier-pierce-se.png"
			[/frame]
			[frame]
				begin=200
				end=250
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
		[animation]
			hits=no
			[frame]
				begin=-250
				end=-200
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
			[frame]
				begin=-200
				end=-100
				image="units/human-loyalists/halberdier-slash-se-1.png"
			[/frame]
			[frame]
				begin=-100
				end=100
				image="units/human-loyalists/halberdier-slash-se-2.png"
				sound=axe.ogg
			[/frame]
			[frame]
				begin=100
				end=200
				image="units/human-loyalists/halberdier-pierce-se.png"
			[/frame]
			[frame]
				begin=200
				end=250
				image="units/human-loyalists/halberdier-defend.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
