[unit]
id=Demilich
name= _ "Demilich"
race=undead
image="undead-demilich.png"
image_defensive="undead-demilich-defend.png"
profile="portraits/The_Dark_Hordes/gwiti-demilich.png"
hitpoints=80
movement_type=undeadfoot
movement=6
experience=250
level=3
alignment=chaotic
advanceto=Dread Lich
cost=30
usage=fighter
unit_description= _ "After too much time dabbling with forbidden magics and dark arts, these magi have begun to pay a heavy price. Demiliches have started losing their bodies, becoming undead themselves. With time, they may become fully undead, and feared by all alike."
get_hit_sound=groan.wav
	[death]
		[frame]
		begin=0
		end=200
		image="undead-demilich-die-1.png"
		[/frame]
		[frame]
		begin=200
		end=400
		image="undead-demilich-die-2.png"
		[/frame]
	[/death]
	[attack]
	name=touch
	type=cold
	range=short
	damage=12
	number=2
	special=drain
		[frame]
		begin=-100
		end=100
		image="undead-demilich-attack.png"
		[/frame]
	[/attack]
	[attack]
	name=magic
	type=cold
	special=magical
	range=long
	damage=12
	number=4
	icon=attacks/dark-missile.png
		[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="undead-demilich-ranged1.png"
		[/frame]
		[frame]
		begin=-200
		end=-100
		image="undead-demilich-ranged2.png"
		[/frame]
		[frame]
		begin=-100
		end=50
		image="undead-demilich-ranged1.png"
		[/frame]
		[sound]
		time=-200
		sound=magicmissile.wav
		[/sound]
	[/attack]
[/unit]

