<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dark Magician" nameDescription="a dark magician" race="blood" experience="185" speed="210" manacost="0">
	<health now="325" max="325"/>
	<look type="133" head="116" body="95" legs="50" feet="132" addons="2" 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="0"/>
		<flag targetdistance="4"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="0" max="-30"/>
		<attack name="energy" interval="2000" chance="15" range="5" min="-20" max="-30">
			<attribute key="shootEffect" value="energy"/>
		</attack>
		<attack name="fire" interval="2000" chance="20" range="5" min="-5" max="-40">
			<attribute key="shootEffect" value="fire"/>
		</attack>
	</attacks>
	<defenses armor="15" defense="15">
		<defense name="healing" interval="2000" chance="20" min="60" max="80">
			<attribute key="areaEffect" value="greenshimmer"/>
		</defense>
		<defense name="invisible" interval="2000" chance="10" duration="5000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Feel the power of my runes!"/>
		<voice sentence="Killing you is getting expensive!"/>
		<voice sentence="My secrets are mine alone!"/>
		<voice sentence="Stand Still!"/>
	</voices>
	<loot>
		<item id="2148" countmax="55" chance="75100"/>	<!-- gold coin -->
		<item id="7618" chance="12000"/>				<!-- health potion -->
		<item id="7620" chance="12000"/>				<!-- mana potion -->
		<item id="2260" chance="10000"/>				<!-- blank rune -->
		<item id="7588" chance="3000"/>					<!-- strong health potion -->
		<item id="7589" chance="3000"/>					<!-- strong mana potion -->
		<item id="7761" chance="500"/>					<!-- small enchanted amethyst -->
		<item id="2188" chance="280"/>					<!-- necrotic rod -->
		<item id="13295" chance="20"/>					<!-- reins -->
	</loot>
</monster>
