[unit]
	id=Ghoul
	name= _ "Ghoul"
	race=undead
	image="units/undead/ghoul.png"
	ellipse="misc/ellipse"
	profile=portraits/Alex_Jarocha-Ernst/ghoul.png
	hitpoints=33
	movement_type=undeadfoot
	movement=5
	experience=35
	level=1
	alignment=chaotic
	advanceto=Necrophage
	cost=16
	usage=fighter
	unit_description= _ "Only those with an dreadful knowledge of necromancy know what must be done to turn a person into a ghoul, and it is a secret they are not telling. Whatever unspeakable rites they have performed, the result is a beast that knows nothing of its days as a human being, a creature that shambles about as naked as the day it was born, and gorges itself on the flesh of the dead.

It is because of such things that necromancy is condemned with an almost primal hatred in all civilized lands.

Special Notes:"+{SPECIAL_NOTES_POISON}
	die_sound=ghoul-hit.wav
	{DEFENSE_ANIM "units/undead/ghoul-defend.png" "units/undead/ghoul.png" ghoul-hit.wav }
	[movement_costs]
		deep_water=100
		shallow_water=3
	[/movement_costs]
	[resistance]
		impact=100
		fire=90
		cold=60
		arcane=140
	[/resistance]
	[death]
		start_time=0
		[frame]
			duration=80
			image="units/undead/ghoul-die-1.png"
		[/frame]
		[frame]
			duration=80
			image="units/undead/ghoul-die-2.png"
		[/frame]
		[frame]
			duration=80
			image="units/undead/ghoul-die-3.png"
		[/frame]
		[frame]
			duration=80
			image="units/undead/ghoul-die-4.png"
		[/frame]
		[frame]
			duration=80
			image="units/undead/ghoul-die-5.png"
		[/frame]
		[frame]
			duration=80
			image="units/undead/ghoul-die-6.png"
		[/frame]
		[frame]
			duration=80
			image="units/undead/ghoul-die-7.png"
		[/frame]
	[/death]
	[attack]
		name=claws
		icon=attacks/claws-undead.png
		type=blade
		range=melee
		damage=4
		number=3
		[specials]
			{WEAPON_SPECIAL_POISON}
		[/specials]
		[animation]
			[frame]
				begin=-225
				end=-175
				image="units/undead/ghoul.png"
			[/frame]
			[frame]
				begin=-175
				end=-100
				image="units/undead/ghoul-attack-1.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-100
					end=-50
					image="units/undead/ghoul-attack-2.png"
					sound=claws.ogg
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-100
					end=-50
					image="units/undead/ghoul-attack-2.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			{FRAME_ON_POISON (
				[frame]
					begin=-50
					end=100
					image="units/undead/ghoul-attack-2.png"
					sound=poison.ogg
				[/frame]
			)}
			[frame]
				begin=100
				end=150
				image="units/undead/ghoul.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
