<?xml version="1.0" encoding="UTF-8"?>
<monster name="Lich" nameDescription="a lich" race="undead" experience="900" speed="220" manacost="0">
	<health now="880" max="880"/>
	<look type="99" corpse="6028"/>
	<targetchange interval="4000" chance="10"/>
	<flags>
        <flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="0"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="1"/>
		<flag staticattack="80"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="0" max="-75"/>
		<attack name="lifedrain" interval="2000" chance="10" length="7" spread="0" min="-140" max="-190">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="earth" interval="2000" chance="10" length="7" spread="0" min="-300" max="-400">
			<attribute key="areaEffect" value="greenspark"/>
		</attack>
		<attack name="lifedrain" interval="2000" chance="10" range="1" min="-200" max="-245">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="speed" interval="2000" chance="15" range="7" speedchange="-300" duration="30000">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="lifedrain" interval="2000" chance="10" radius="3" target="0" min="-130" max="-195">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
	</attacks>
	<defenses armor="25" defense="25">
		<defense name="healing" interval="2000" chance="15" min="80" max="100">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element energyPercent="80"/>
		<element holyPercent="-10"/>
	</elements>
	<immunities>
		<immunity death="1"/>
		<immunity earth="1"/>
		<immunity lifedrain="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="4">
		<summon name="Bonebeast" interval="2000" chance="10"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Doomed be the living!"/>
		<voice sentence="Death awaits all!"/>
		<voice sentence="Thy living flesh offends me!"/>
		<voice sentence="Death and Decay!"/>
		<voice sentence="You will endure agony beyond thy death!"/>
		<voice sentence="Pain sweet pain!"/>
		<voice sentence="Come to me my children!"/>
	</voices>
	<loot>
		<item id="2148" countmax="139" chance="100000"/>	<!-- gold coin -->
		<item id="2152" chance="19720"/>					<!-- platinum coin -->
		<item id="2175" chance="10000"/>					<!-- spellbook -->
		<item id="7589" chance="7500"/>						<!-- strong mana potion -->
		<item id="2144" countmax="3" chance="5960"/>		<!-- black pearl -->
		<item id="2143" chance="5000"/>						<!-- white pearl -->
		<item id="2532" chance="2422"/>						<!-- ancient shield -->
		<item id="9970" countmax="3" chance="2430"/>		<!-- small topaz -->
		<item id="2149" countmax="3" chance="2230"/>		<!-- small emerald -->
		<item id="2214" chance="1540"/>						<!-- ring of healing -->
		<item id="2479" chance="740"/>						<!-- strange helmet -->
		<item id="2154" chance="690"/>						<!-- yellow gem -->
		<item id="2436" chance="550"/>						<!-- skull staff -->
		<item id="2171" chance="450"/>						<!-- platinum amulet -->
		<item id="2535" chance="350"/>						<!-- castle shield -->
		<item id="2178" chance="350"/>						<!-- mind stone -->
		<item id="7893" chance="200"/>						<!-- lightning boots -->
		<item id="2656" chance="150"/>						<!-- blue robe -->
		<item id="13291" chance="100"/>						<!-- maximila maximus -->
	</loot>
</monster>
