<?xml version="1.0" encoding="UTF-8"?>
<monster name="Mahrdis" nameDescription="Mahrdis" race="undead" experience="3050" speed="340" manacost="0">
	<health now="3900" max="3900"/>
	<look type="90" corpse="6025"/>
	<targetchange interval="5000" chance="8"/>
	<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="-400"/>
		<attack name="fire" interval="2000" chance="34" radius="3" target="0" min="-150" max="-800">
			<attribute key="areaEffect" value="explosionarea"/>
		</attack>
		<attack name="physical" interval="1600" chance="7" range="4" min="0" max="-600">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="fire" interval="1000" chance="7" range="7" min="0" max="-600">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="firecondition" interval="2000" chance="13" length="8" spread="3" min="-50" max="-50">
			<attribute key="areaEffect" value="explosion"/>
		</attack>
		<attack name="poisoncondition" interval="2000" chance="30" radius="5" target="0" min="-50" max="-50"/>
		<attack name="speed" interval="2000" chance="13" range="7" speedchange="-350" duration="50000">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="firefield" interval="1000" chance="12" radius="4" target="0">
			<attribute key="areaEffect" value="yellowspark"/>
		</attack>
	</attacks>
	<defenses armor="20" defense="30">
		<defense name="healing" interval="2000" chance="20" min="150" max="600">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element energyPercent="20"/>
		<element earthPercent="20"/>
		<element holyPercent="-20"/>
		<element icePercent="-10"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
		<immunity fire="1"/>
		<immunity death="1"/>
		<immunity lifedrain="1"/>
	</immunities>
	<summons maxSummons="4">
		<summon name="Fire Elemental" interval="2000" chance="3000"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Ashes to ashes!"/>
		<voice sentence="Fire, Fire!"/>
		<voice sentence="The eternal flame demands its due!"/>
		<voice sentence="This is why I'm hot."/>
		<voice sentence="May my flames engulf you!"/>
	</voices>
	<loot>
		<item id="2353" chance="100000"/>				<!-- burning heart -->
		<item id="2148" countmax="230" chance="88000"/>	<!-- gold coin -->
		<item id="2147" countmax="3" chance="12000"/>	<!-- small ruby -->
		<item id="7591" chance="10000"/>				<!-- great health potion -->
		<item id="2168" chance="7000"/>					<!-- life ring -->
		<item id="2432" chance="960"/>					<!-- fire axe -->
		<item id="2156" chance="550"/>					<!-- red gem -->
		<item id="2141" chance="130"/>					<!-- holy falcon -->
		<item id="11207" chance="130"/>					<!-- mini mummy -->
		<item id="2539" chance="130"/>					<!-- phoenix shield -->
	</loot>
</monster>
