<?xml version="1.0" encoding="UTF-8"?>
<monster name="Green Djinn" nameDescription="a green djinn" race="blood" experience="215" speed="180" manacost="0">
	<health now="330" max="330"/>
	<look type="51" corpse="6016"/>
	<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="-45" max="-80">
			<attribute key="shootEffect" value="fire"/>
		</attack>
		<attack name="death" interval="2000" chance="10" range="7" target="1" radius="1" min="-50" max="-105">
			<attribute key="shootEffect" value="suddendeath"/>
			<attribute key="areaEffect" value="smallclouds"/>
		</attack>
		<attack name="drunk" interval="2000" chance="10" range="7" duration="5000">
			<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"/>
		<attack name="djinn cancel invisibility" interval="2000" chance="10"/>
	</attacks>
	<defenses armor="15" defense="15"/>
	<elements>
		<element firePercent="80"/>
		<element energyPercent="50"/>
		<element physicalPercent="20"/>
		<element deathPercent="20"/>
		<element icePercent="-10"/>
		<element holyPercent="-13"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="I grant you a deathwish!"/>
		<voice sentence="Muhahahaha!"/>
		<voice sentence="I wish you a merry trip to hell!"/>
		<voice sentence="Good wishes are for fairytales"/>
	</voices>
	<loot>
		<item id="2148" countmax="70" chance="41000"/><!-- gold coin -->
		<item id="2148" countmax="45" chance="51000"/><!-- gold coin -->
		<item id="2696" chance="23500"/><!-- cheese -->
		<item id="2747" chance="1000"/><!-- grave flower -->
		<item id="7378" countmax="2" chance="4870"/><!-- royal spear -->
		<item id="2062" chance="830"/><!-- small oil lamp -->
		<item id="1965" chance="2280"/><!-- green book -->
		<item id="2149" countmax="4" chance="2960"/><!-- small emerald -->
		<item id="7620" chance="490"/><!-- mana potion -->
		<item id="5910" chance="2000"/><!-- green piece of cloth -->
		<item id="2663" chance="140"/><!-- mystic turban -->
		<item id="12412" chance="2210"/><!-- dirty turban -->
	</loot>
</monster>
