[unit]
	id=Heavy Infantryman
	name= _ "Heavy Infantryman"
	race=human
	image="units/human-loyalists/heavyinfantry.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	ellipse="misc/ellipse"
	hitpoints=38
	movement_type=armoredfoot
	movement=4
	experience=40
	level=1
	alignment=lawful
	advanceto=Shock Trooper
	cost=19
	unit_description= _ "Heavy infantry are an unusual choice for outfitting troops. They are very difficult to send afield in war, and are typically useful only in the defense of the city or castle in which they are stationed. Clad head to toe in full plate, and armed with large maces, heavy infantry excel at their sole purpose of melee combat. A few of them in the center of a line will shore up its strength considerably. The downsides to this are obvious, both in the weight of the metal, and the great care that must be taken of it, but in certain situations, these troops are well worth the trade-offs."
	die_sound={SOUND_LIST:HUMAN_DIE}
	usage=fighter
	{DEFENSE_ANIM "units/human-loyalists/heavyinfantry-defend-2.png" "units/human-loyalists/heavyinfantry-defend-1.png" {SOUND_LIST:HUMAN_HIT} }
	[attack]
		name=mace
		type=impact
		range=melee
		damage=11
		number=2
		[animation]
			[frame]
				begin=-230
				end=-100
				image="units/human-loyalists/heavyinfantry-attack-1.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-100
					end=100
					image="units/human-loyalists/heavyinfantry-attack-2.png"
					sound=mace.wav
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-100
					end=100
					image="units/human-loyalists/heavyinfantry-attack-2.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=100
				end=200
				image="units/human-loyalists/heavyinfantry.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
