<?xml version="1.0" encoding="UTF-8"?>
<monster name="Mad Scientist" nameDescription="a mad scientist" race="blood" experience="205" speed="190" manacost="0">
	<health now="325" max="325"/>
	<look type="133" head="39" body="0" legs="38" feet="59" addons="1" corpse="6080"/>
	<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="1"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="0" max="-35"/>
		<attack name="drown" interval="2000" chance="15" range="5" radius="3" target="1" min="-20" max="-56">
			<attribute key="shootEffect" value="smallearth"/>
			<attribute key="areaEffect" value="bluebubble"/>
		</attack>
		<attack name="energy" interval="2000" chance="15" range="5" target="1" min="-20" max="-36">
			<attribute key="shootEffect" value="poison"/>
			<attribute key="areaEffect" value="energy"/>
		</attack>
		<attack name="speed" interval="2000" chance="10" range="5" target="1" speedchange="-200" duration="2000">
			<attribute key="shootEffect" value="poison"/>
			<attribute key="areaEffect" value="smallplants"/>
		</attack>
	</attacks>
	<defenses armor="15" defense="15">
		<defense name="healing" interval="2000" chance="15" min="10" max="30">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	
	<immunities>
		<immunity invisible="1"/>
		<immunity drown="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Die in the name of Science!"/>
		<voice sentence="You will regret interrupting my studies!"/>
		<voice sentence="Let me test this!"/>
		<voice sentence="I will study your corpse!"/>
	</voices>
	<loot>
		<item id="2148" countmax="115" chance="60000"/>	<!-- gold coin -->
		<item id="7618" chance="20000"/>				<!-- health potion -->
		<item id="7620" chance="20000"/>				<!-- mana potion -->
		<item id="2787" countmax="3" chance="8000"/>	<!-- white mushroom -->
		<item id="2308" chance="6000"/>					<!-- powder herb -->
		<item id="2177" chance="2000"/>					<!-- life crystal -->
		<item id="2162" chance="2000"/>					<!-- magic lightwand -->
		<item id="2687" countmax="5" chance="1200"/>	<!-- cookie -->
		<item id="6324" chance="820"/>					<!-- cream cake -->
		<item id="7762" chance="470"/>					<!-- small enchanted amethyst -->
		<item id="7440" chance="130"/>					<!-- mastermind potion -->
	</loot>
</monster>
