<?xml version="1.0" encoding="UTF-8"?>
<monster name="Marid" nameDescription="a marid" race="blood" experience="410" speed="180" manacost="0">
	<health now="550" max="550"/>
	<look type="104" corpse="6033"/>
	<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="0"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="50" attack="30"/>
		<attack name="energy" interval="2000" chance="10" range="7" min="-100" max="-250">
			<attribute key="shootEffect" value="energyball"/>
		</attack>
		<attack name="lifedrain" interval="2000" chance="15" range="7" min="-30" max="-90">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="speed" interval="2000" chance="15" range="7" speedchange="-650" duration="1500">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="drunk" interval="2000" chance="10" range="7" duration="6000">
			<attribute key="shootEffect" value="energy"/>
		</attack>
		<attack name="outfit" interval="2000" chance="1" range="7" monster="rabbit" duration="4000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</attack>
		<attack name="djinn electrify" interval="2000" range="5" chance="15"/>
		<attack name="energy" interval="2000" chance="15" radius="3" target="0" min="-30" max="-90">
			<attribute key="areaEffect" value="energy"/>
		</attack>
	</attacks>
	<defenses armor="20" defense="20">
		<defense name="healing" interval="2000" chance="15" min="50" max="80">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element firePercent="90"/>
		<element earthPercent="1"/>
		<element energyPercent="60"/>
		<element holyPercent="1"/>
		<element icePercent="-1"/>
		<element deathPercent="-1"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="2">
		<summon name="blue djinn" interval="2000" chance="10" max="2"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Simsalabim"/>
		<voice sentence="Feel the power of my magic, tiny mortal!"/>
		<voice sentence="Wishes can come true."/>
		<voice sentence="Djinns will soon again be the greatest!"/>
	</voices>
	<loot>
		<item id="2148" countmax="70" chance="60000"/><!-- gold coin -->
		<item id="2148" countmax="30" chance="60000"/><!-- gold coin -->
		<item id="2677" countmax="29" chance="65000"/><!-- blueberry -->
		<item id="7378" countmax="3" chance="15500"/><!-- royal spear -->
		<item id="2442" chance="4530"/><!-- heavy machete -->
		<item id="2063" chance="110"/><!-- small oil lamp -->
		<item id="1872" chance="2560"/><!-- blue tapestry -->
		<item id="2146" chance="6200"/><!-- small sapphire -->
		<item id="7589" chance="9800"/><!-- strong mana potion -->
		<item id="5912" chance="3750"/><!-- blue piece of cloth -->
		<item id="2374" chance="5000"/><!-- wooden flute -->
		<item id="7732" chance="2400"/><!-- seeds -->
		<item id="2183" chance="770"/><!-- hailstorm rod -->
		<item id="2663" chance="290"/><!-- mystic turban -->
		<item id="12442" chance="530"/><!-- Noble turban -->
		<item id="12426" chance="7880"/><!-- Jewelled Belt -->
		<item id="7900" chance="320"/><!-- magma monocle -->
		<item id="2158" chance="110"/><!-- blue gem -->
	</loot>
</monster>
