[unit]
	id=Lich
	name= _ "Lich"
	race=undead
	image="units/undead-necromancers/lich.png"
	{MAGENTA_IS_THE_TEAM_COLOR}
	hitpoints=60
	movement_type=undeadfoot
	[resistance]
		arcane=140
	[/resistance]
	movement=6
	experience=100
	level=3
	alignment=chaotic
	advanceto=null
	{AMLA_TOUGH 3}
	cost=50
	usage=fighter
	unit_description= _ "A lich is the physical embodiment of black magic's first goal: the quest to achieve immortality. Though a great deal is sacrificed in the rebirth, in becoming a lich one cheats death of that which truly gives it terror. For it is the mind that is retained, and the spirit which follows, though the body may wither away.

It is not known, save perhaps by the inner circles of necromancy, whether life is prolonged indefinitely or simply extended. But the fact that this question can be raised testifies to the magnitude of what these dark adepts have already achieved.

Special Notes:"+{SPECIAL_NOTES_MAGICAL}+{SPECIAL_NOTES_DRAIN}
	die_sound=lich-die.ogg
	{DEFENSE_ANIM "units/undead-necromancers/lich-defend.png" "units/undead-necromancers/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=5
		number=3
		[specials]
			{WEAPON_SPECIAL_DRAIN}
		[/specials]
		[animation]
			[frame]
				begin=-200
				end=-150
				image="units/undead-necromancers/lich.png"
			[/frame]
			[if]
				hits=yes
				[frame]
					begin=-150
					end=100
					image="units/undead-necromancers/lich-melee.png"
					sound=wail-sml.wav
				[/frame]
			[/if]
			[else]
				hits=no
				[frame]
					begin=-150
					end=100
					image="units/undead-necromancers/lich-melee.png"
					sound={SOUND_LIST:MISS}
				[/frame]
			[/else]
			[frame]
				begin=100
				end=200
				image="units/undead-necromancers/lich.png"
			[/frame]
		[/animation]
	[/attack]
	[attack]
		name=chill tempest
		type=cold
		[specials]
			{WEAPON_SPECIAL_MAGICAL}
		[/specials]
		range=ranged
		damage=12
		number=3
		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/lich-magic-1.png"
			[/frame]
			[if]
				hits=no
				[frame]
					begin=-200
					end=-100
					image="units/undead-necromancers/lich-magic-2.png"
					sound=magic-dark-big-miss.ogg
				[/frame]
			[/if]
			[else]
				hits=yes
				[frame]
					begin=-200
					end=-100
					image="units/undead-necromancers/lich-magic-2.png"
					sound=magic-dark-big.ogg
				[/frame]
			[/else]
			[frame]
				begin=-100
				end=0
				image="units/undead-necromancers/lich-magic-3.png"
			[/frame]
			[frame]
				begin=0
				end=100
				image="units/undead-necromancers/lich-magic-1.png"
			[/frame]
		[/animation]
	[/attack]
[/unit]
