<?xml version="1.0" encoding="UTF-8"?>
<monster name="Rahemos" nameDescription="Rahemos" race="undead" experience="3100" speed="320" manacost="0">
	<health now="3700" max="3700"/>
	<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="-800"/>
		<attack name="energy" interval="2000" chance="20" range="7" min="-200" max="-600">
			<attribute key="shootEffect" value="energy"/>
			<attribute key="areaEffect" value="energy"/>
		</attack>
		<attack name="death" interval="3000" chance="20" range="7" min="0" max="-500">
			<attribute key="shootEffect" value="suddendeath"/>
			<attribute key="areaEffect" value="mortarea"/>
		</attack>
		<attack name="drunk" interval="1000" chance="8" range="7">
			<attribute key="shootEffect" value="energy"/>
			<attribute key="areaEffect" value="energyarea"/>
		</attack>
		<attack name="poisoncondition" interval="2000" chance="30" radius="5" target="0" min="-50" max="-50"/>
		<attack name="speed" interval="1000" chance="12" radius="6" target="0" speedchange="-250" duration="60000">
			<attribute key="areaEffect" value="poison"/>
		</attack>
		<attack name="outfit" interval="1000" chance="15" range="7" monster="Pig" duration="12000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</attack>
	</attacks>
	<defenses armor="30" defense="35">
		<defense name="healing" interval="2000" chance="20" min="200" max="500">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="outfit" interval="1000" chance="5" monster="Demon" duration="4000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element firePercent="95"/>
		<element energyPercent="95"/>
		<element physicalPercent="-40"/>
		<element holyPercent="-1"/>
	</elements>
	<immunities>
		<immunity ice="1"/>
		<immunity earth="1"/>
		<immunity death="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="1">
		<summon name="Demon" interval="1000" chance="12"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="It's a kind of magic."/>
		<voice sentence="Abrah Kadabrah!"/>
		<voice sentence="Nothing hidden in my wrappings."/>
		<voice sentence="It's not a trick, it's Rahemos."/>
		<voice sentence="Meet my friend from hell."/>
		<voice sentence="I will make you believe in magic."/>
	</voices>
	<loot>
		<item id="2348" chance="100000"/>				<!-- ancient rune -->
		<item id="2148" countmax="242" chance="90000"/>	<!-- gold coin -->
		<item id="7590" chance="9000"/>					<!-- great mana potion -->
		<item id="2150" countmax="3" chance="8400"/>	<!-- small amethyst -->
		<item id="2214" chance="3750"/>					<!-- ring of healing -->
		<item id="2662" chance="2030"/>					<!-- magician hat -->
		<item id="2153" chance="1330"/>					<!-- violet gem -->
		<item id="2176" chance="310"/>					<!-- orb -->
		<item id="2447" chance="230"/>					<!-- twin axe -->
		<item id="11207" chance="160"/>					<!-- mini mummy -->
		<item id="2184" chance="100"/>					<!-- crystal wand -->
	</loot>
</monster>
