<?xml version="1.0" encoding="UTF-8"?>
<monster name="Ashmunrah" nameDescription="Ashmunrah" race="undead" experience="3100" speed="320" manacost="0">
	<health now="5000" max="5000"/>
	<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="-1001" poison="7"/>
		<attack name="physical" interval="2000" chance="10" range="1" min="0" max="-693">
			<attribute key="shootEffect" value="death"/>
			<attribute key="areaEffect" value="mortarea"/>
		</attack>
		<attack name="lifedrain" interval="2000" chance="18" length="8" spread="3" min="0" max="-1000">
			<attribute key="areaEffect" value="yellowbubble"/>
		</attack>
	</attacks>
	<defenses armor="25" defense="30">
		<defense name="healing" interval="2000" chance="20" min="200" max="450">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="invisible" interval="2000" chance="14" duration="2000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="outfit" interval="1000" chance="3" monster="Ancient Scarab" duration="6000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	
	<immunities>
		
		<immunity lifedrain="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="4">
		<summon name="Ancient Scarab" interval="1000" chance="2000" max="2"/>
		<summon name="Green Djinn" interval="1000" chance="1000" max="4"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="No mortal or undead will steal my secrets!"/>
		<voice sentence="Ahhhh all those long years."/>
		<voice sentence="My traitorous son has thee."/>
		<voice sentence="Come to me, my allys and underlings."/>
		<voice sentence="I might be trapped but not without power"/>
		<voice sentence="Ages come, ages go. Ashmunrah remains."/>
		<voice sentence="You will be history soon."/>
	</voices>
	<loot>
		<item id="2148" countmax="304" chance="93000"/>	<!-- gold coin -->
		<item id="7590" chance="12000"/>				<!-- great mana potion -->
		<item id="2164" chance="4550"/>					<!-- might ring -->
		<item id="2134" chance="4120"/>					<!-- silver brooch -->
		<item id="2487" chance="500"/>					<!-- crown armor -->
		<item id="11207" chance="190"/>					<!-- mini mummy -->
		<item id="2444" chance="120"/>					<!-- hammer of wrath -->
		<item id="2140" chance="120"/>					<!-- holy scarab -->
	</loot>
</monster>
