<?xml version="1.0" encoding="UTF-8"?>
<monster name="Blue Djinn" nameDescription="a blue djinn" race="blood" experience="215" speed="180" manacost="0">
	<health now="330" max="330" />
	<look type="80" corpse="6020" />
	<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="physical" interval="2000" chance="10" radius="1" target="1" range="7" min="-60" max="-105">
			<attribute key="shootEffect" value="death" />
			<attribute key="areaEffect" value="mortarea" />
		</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="rabbit" 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" />

	<immunities>
		<immunity paralyze="1" />
		<immunity invisible="1" />
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Simsalabim" />
		<voice sentence="Feel the power of my magic, tiny mortal!" />
		<voice sentence="Be careful what you wish for." />
		<voice sentence="Wishes can come true." />
	</voices>
	<loot>
		<item id="2148" countmax="70" chance="60000" /> <!-- gold coin -->
		<item id="2148" countmax="45" chance="70000" /> <!-- gold coin -->
		<item id="2684" chance="23480" /> <!-- carrot -->
		<item id="7378" countmax="2" chance="4500" /> <!-- royal spear -->
		<item id="2146" countmax="4" chance="2560" /> <!-- small sapphire -->
		<item id="2063" chance="690" /> <!-- small oil lamp -->
		<item id="1963" chance="2350" /> <!-- blue book -->
		<item id="5912" chance="1920" /> <!-- blue piece of cloth -->
		<item id="2745" chance="440" /> <!-- blue rose -->
		<item id="2663" chance="70" /> <!-- mystic turban -->
	</loot>
</monster>
