[unit]
	id=Ancient Lich
	name= _ "Ancient Lich"
	race=undead
	image="units/undead-necromancers/ancient-lich.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=80
	movement_type=undeadfoot
	movement=6
	experience=100
	level=4
	alignment=chaotic
	advanceto=null
	{AMLA_TOUGH 3}
	cost=100
	usage=mixed fighter
	unit_description= _ "A being of this order is a revenant of ages long past. Anyone who encounters an Ancient Lich likely has far worse things to worry about than death.

Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
	die_sound=lich-die.ogg
	{DEFENSE_ANIM "units/undead-necromancers/ancient-lich-defend.png" "units/undead-necromancers/ancient-lich.png" {SOUND_LIST:LICH_HIT} }
	[movement_costs]
		shallow_water=3
	[/movement_costs]
	[abilities]
		{ABILITY_SUBMERGE}
	[/abilities]
	[attack]
		name=touch
		icon=attacks/touch-undead.png
		type=arcane
		range=melee
		damage=6
		number=4
		[specials]
			{WEAPON_SPECIAL_DRAIN}
		[/specials]
		[animation]
			[frame]
				begin=-200
				end=-150
				image="units/undead-necromancers/ancient-lich.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-150
					end=100
					image="units/undead-necromancers/ancient-lich-melee.png"
					sound=wail-sml.wav
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-150
					end=100
					image="units/undead-necromancers/ancient-lich-melee.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=100
				end=200
				image="units/undead-necromancers/ancient-lich.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=chill tempest
		type=cold
		[specials]
			{WEAPON_SPECIAL_MAGICAL}
		[/specials]
		range=ranged
		damage=13
		number=5
		icon=attacks/dark-missile.png
		[animation]
			[missile_frame]
				begin=-200
				end=0
				image="projectiles/darkmissile-n.png"
				image_diagonal="projectiles/darkmissile-ne.png"
			[/missile_frame]
			[frame]
				begin=-300
				end=-200
				image="units/undead-necromancers/ancient-lich-magic-1.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-200
					end=-100
					image="units/undead-necromancers/ancient-lich-magic-2.png"
					sound=magic-dark-big-miss.ogg
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-200
					end=-100
					image="units/undead-necromancers/ancient-lich-magic-2.png"
					sound=magic-dark-big.ogg
				[/frame]
			[/else]
			[frame]
				begin=-100
				end=0
				image="units/undead-necromancers/ancient-lich-magic-3.png"
			[/frame]
			[frame]
				begin=0
				end=100
				image="units/undead-necromancers/ancient-lich-magic-1.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
