<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dipthrah" nameDescription="Dipthrah" race="undead" experience="2900" speed="320" manacost="0">
	<health now="4200" max="4200"/>
	<look type="87" corpse="6031"/>
	<targetchange interval="5000" chance="8"/>
	<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="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="0" max="-200"/>
		<attack script="monster/dipthrah skill reducer.lua" interval="3000" chance="15"/>
		<attack name="lifedrain" interval="4000" chance="20" range="1" min="0" max="-800"/>
		<attack name="manadrain" interval="2000" chance="15" range="7" min="-100" max="-500">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="drunk" interval="1000" chance="12" radius="7" target="0" duration="20000"/>
		<attack name="poisoncondition" interval="2000" chance="30" radius="5" target="0" min="-50" max="-50"/>
	</attacks>
	<defenses armor="25" defense="25">
		<defense name="healing" interval="2000" chance="25" min="100" max="200">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element energyPercent="20"/>
		<element earthPercent="20"/>
		<element holyPercent="-10"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
		<immunity physical="1"/>
		<immunity death="1"/>
		<immunity lifedrain="1"/>
	</immunities>
	<summons maxSummons="4">
		<summon name="Priestess" interval="2000" chance="15"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Come closer to learn the final lesson."/>
		<voice sentence="You can't escape death forever."/>
		<voice sentence="Undeath will shatter my shackles."/>
		<voice sentence="You don't need this magic anymore."/>
	</voices>
	<loot>
		<item id="2354" chance="100000"/>				<!-- ornamented ankh -->
		<item id="2148" countmax="226" chance="90000"/>	<!-- gold coin -->
		<item id="2146" countmax="3" chance="9700"/>	<!-- small sapphire -->
		<item id="7590" chance="9000"/>					<!-- great mana potion -->
		<item id="2167" chance="5000"/>					<!-- energy ring -->
		<item id="2178" chance="950"/>					<!-- mind stone -->
		<item id="2158" chance="900"/>					<!-- blue gem -->
		<item id="2193" chance="650"/>					<!-- ankh -->
		<item id="2436" chance="450"/>					<!-- skull staff -->
		<item id="11207" chance="100"/>					<!-- mini mummy -->
		<item id="2446" chance="100"/>					<!-- pharaoh sword -->
	</loot>
</monster>
