<?xml version="1.0" encoding="UTF-8"?>
<monster name="Infernalist" nameDescription="an infernalist" race="blood" experience="4000" speed="220" manacost="0">
	<health now="3650" max="3650"/>
	<look type="130" head="78" body="76" legs="94" feet="115" addons="2" corpse="20430"/>
	<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="4"/>
		<flag staticattack="95"/>
		<flag runonhealth="900"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="0" max="-100"/>
		<attack script="monster/infernalist skill reducer.lua" interval="3000" chance="15" target="1" range="6"/>
		<attack name="fire" interval="2000" chance="40" range="4" target="1" min="-65" max="-180">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="fire" interval="2000" chance="20" range="7" radius="3" target="1" min="-90" max="-180">
			<attribute key="shootEffect" value="burstarrow"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="physical" interval="2000" chance="5" radius="2" target="0" min="-100" max="-150">
			<attribute key="areaEffect" value="explosionarea"/>
		</attack>
		<attack name="manadrain" interval="2000" chance="20" target="1" range="7" radius="3" min="-53" max="-120">
			<attribute key="shootEffect" value="energyball"/>
			<attribute key="areaEffect" value="teleport"/>
		</attack>
		<attack name="firefield" interval="2000" chance="15" target="1" range="5" radius="3">
			<attribute key="shootEffect" value="fire"/>
		</attack>
		<attack name="fire" interval="2000" chance="10" length="8" spread="0" min="-150" max="-250">
			<attribute key="areaEffect" value="fireattack"/>
		</attack>
	</attacks>
	<defenses armor="15" defense="15">
		<defense name="healing" interval="2000" chance="15" min="60" max="230">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="invisible" interval="2000" chance="15" duration="8000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element earthPercent="95"/>
		<element physicalPercent="-5"/>
		<element icePercent="-5"/>
		<element holyPercent="20"/>
		<element deathPercent="5"/>
	</elements>
	<immunities>
		<immunity energy="1"/>
		<immunity fire="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="1">
		<summon name="Fire Elemental" interval="2000" chance="20"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Nothing will remain but your scorched bones!"/>
		<voice sentence="Some like it hot!"/>
		<voice sentence="It's cooking time!"/>
		<voice sentence="Feel the heat of battle!"/>
	</voices>
	<loot>
		<item id="2148" countmax="151" chance="96000"/>	<!-- gold coin -->
		<item id="7590" chance="19000"/>				<!-- great mana potion -->
		<item id="7591" chance="19000"/>				<!-- great health potion -->
		<item id="8840" countmax="5" chance="8500"/>	<!-- raspberry -->
		<item id="2436" chance="6500"/>					<!-- skull staff -->
		<item id="7760" chance="4250"/>					<!-- small enchanted ruby -->
		<item id="2167" chance="1800"/>					<!-- energy ring -->
		<item id="5911" chance="1660"/>					<!-- red piece of cloth -->
		<item id="9969" chance="800"/>					<!-- black skull -->
		<item id="5904" chance="600"/>					<!-- magic sulphur -->
		<item id="9958" chance="460"/>					<!-- royal tapestry -->
		<item id="8902" chance="400"/>					<!-- spellbook of mind control -->
		<item id="1986" chance="330"/>					<!-- red tome -->
		<item id="7891" chance="260"/>					<!-- magma boots -->
		<item id="9980" chance="200"/>					<!-- crystal of power -->
		<item id="2114" chance="200"/>					<!-- piggy bank -->
		<item id="9971" chance="70"/>					<!-- gold ingot -->
	</loot>
</monster>
