[unit]
	id=Troll Whelp
	name= _ "Troll Whelp"
	race=troll
	image="units/trolls/whelp.png"
	ellipse="misc/ellipse"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=42
	movement_type=largefoot
	movement=4
	experience=36
	level=1
	alignment=chaotic
	advanceto=Troll,Troll Rocklobber
	undead_variation=troll
	cost=13
	usage=fighter
	unit_description= _ "Describing a troll as a whelp is something of an oxymoron, given that their bodies are already much hardier than that of a grown man. They are clumsy and not yet capable of walking properly, forced instead to shamble about on all fours, but any difficulty this causes them is more than made up for by the raw strength of their race.

Special Notes:"+{SPECIAL_NOTES_REGENERATES}
	die_sound={SOUND_LIST:TROLL_DIE}
	[abilities]
		{ABILITY_REGENERATES}
	[/abilities]
	[attack]
		name=fist
		icon=attacks/fist-troll.png
		type=impact
		range=melee
		damage=7
		number=2
		[animation]
			[frame]
				begin=-250
				end=-175
				image="units/trolls/whelp-attack-1.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-150
					end=-25
					image="units/trolls/whelp-attack-2.png"
					sound=fist.ogg
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-150
					end=-25
					image="units/trolls/whelp-attack-2.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=-25
				end=75
				image="units/trolls/whelp-attack-3.png"
			[/frame]
			[frame]
				begin=75
				end=150
				image="units/trolls/whelp-attack-1.png"
			[/frame]
			[frame]
				begin=150
				end=200
				image="units/trolls/whelp.png"
			[/frame]
		[/animation]
	[/attack]
	{DEFENSE_ANIM "units/trolls/whelp-defend.png" "units/trolls/whelp-defend-2.png" {SOUND_LIST:TROLL_HIT} }
	[death]
		[frame]
			begin=0
			end=100
			image="units/trolls/whelp-die-1.png"
		[/frame]
		[frame]
			begin=100
			end=200
			image="units/trolls/whelp-die-2.png"
		[/frame]
		[frame]
			begin=200
			end=300
			image="units/trolls/whelp-die-3.png"
		[/frame]
		[frame]
			begin=300
			end=400
			image="units/trolls/whelp-die-4.png"
		[/frame]
		[frame]
			begin=400
			end=600
			image="units/trolls/whelp-skeleton.png"
		[/frame]
		[frame]
			begin=600
			end=700
			image="units/trolls/whelp-die-5.png"
		[/frame]
		[frame]
			begin=700
			end=800
			image="units/trolls/whelp-die-6.png"
		[/frame]
		[frame]
			begin=800
			end=1050
			image="units/trolls/whelp-die-7.png"
		[/frame]
	[/death]
	[idle_anim]
		{STANDARD_IDLE_FILTER}
		start_time=0
		[frame]
			duration=100
			image="units/trolls/whelp-idle-1.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-2.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-3.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-4.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-5.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-6.png"
		[/frame]
		[frame]
			duration=150
			image="units/trolls/whelp-idle-7.png"
		[/frame]
		[frame]
			duration=175
			image="units/trolls/whelp-idle-6.png"
		[/frame]
		[frame]
			duration=150
			image="units/trolls/whelp-idle-7.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-6.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-5.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-4.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-3.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-2.png"
		[/frame]
		[frame]
			duration=100
			image="units/trolls/whelp-idle-1.png"
		[/frame]
	[/idle_anim]
[/unit]
