<?xml version="1.0" encoding="UTF-8"?>
<monster name="Efreet" nameDescription="an efreet" race="blood" experience="410" speed="180" manacost="0">
	<health now="550" max="550"/>
	<look type="103" corpse="6032"/>
	<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="45" attack="40"/>
		<attack name="fire" interval="2000" chance="15" range="7" min="-40" max="-110">
			<attribute key="shootEffect" value="fire"/>
		</attack>
		<attack name="energy" interval="2000" chance="10" target="0" radius="3" min="-30" max="-90">
			<attribute key="areaEffect" value="energy"/>
		</attack>
		<attack name="energy" interval="2000" chance="15" range="7" min="-65" max="-120">
			<attribute key="shootEffect" value="energy"/>
			<attribute key="areaEffect" value="energy"/>
		</attack>
		<attack name="speed" interval="2000" chance="15" range="7" speedchange="-650" duration="15000">
			<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="rat" duration="4000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</attack>
		<attack name="djinn electrify" interval="2000" range="5" chance="15"/>
	</attacks>
	<defenses armor="20" defense="20">
		<defense name="healing" interval="2000" chance="15" min="50" max="80">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="2">
		<summon name="green djinn" interval="2000" chance="50" max="2"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="I grant you a deathwish!"/>
		<voice sentence="Good wishes are for fairytales"/>
	</voices>
	<loot>
		<item id="2148" countmax="75" chance="50000"/><!-- gold coin -->
		<item id="2148" countmax="50" chance="60000"/><!-- gold coin -->
		<item id="2673" countmax="5" chance="9390"/><!-- pear -->
		<item id="7378" countmax="3" chance="15570"/><!-- royal spear -->
		<item id="2442" chance="5000"/><!-- heavy machete -->
		<item id="2063" chance="160"/><!-- small oil lamp -->
		<item id="2149" chance="7000"/><!-- small emerald -->
		<item id="7732" countmax="2" chance="2000"/><!-- seeds -->
		<item id="1860" chance="2200"/><!-- green tapestry -->
		<item id="5910" chance="3000"/><!-- green piece of cloth -->
		<item id="2187" chance="390"/><!-- wand of inferno -->
		<item id="2663" chance="160"/><!-- mystic turban -->
		<item id="7900" chance="360"/><!-- magma monocle -->
		<item id="12426" chance="8540"/><!-- Jewelled belt -->
		<item id="12442" chance="1130"/><!-- noble turban -->
		<item id="7589" chance="3500"/><!-- strong mana potion -->
		<item id="2155" chance="200"/><!-- green gem -->
	</loot>
</monster>
