<?xml version="1.0" encoding="UTF-8"?>
<monster name="Terofar" nameDescription="Terofar" race="blood" experience="24000" speed="440" manacost="0">
	<health now="25000" max="25000"/>
	<look type="12" head="19" body="0" legs="77" feet="79" addons="0" corpse="6068"/>
	<targetchange interval="2000" chance="25"/>
	<strategy attack="100" defense="0"/>
	<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 staticattack="90"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="180" attack="100"/>
		<attack name="terofar skill reducer 1" interval="2000" chance="22"/>
		<attack name="terofar skill reducer 2" interval="2000" chance="22"/>
        	<attack name="terofar curse" interval="1000" chance="100" range="7"/>
		<attack name="death" interval="2000" chance="30" length="8" spread="0" min="-700" max="-1500">
			<attribute key="areaEffect" value="smallclouds"/>
		</attack>
        	<attack name="physical" interval="2000" chance="18" radius="1" range="7" target="1" min="-0" max="-750">
            		<attribute key="shootEffect" value="whirlwindaxe"/>
        	</attack>
	</attacks>
	<defenses armor="55" defense="65">
		<defense name="healing" interval="2000" chance="30" min="300" max="500" radius="8">
			<attribute key="areaEffect" value="redspark"/>
		</defense>
		<defense name="speed" interval="2000" chance="18" speedchange="784" duration="7000">
			<attribute key="areaEffect" value="greenshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element physicalPercent="50"/>
		<element deathPercent="50"/>
		<element energyPercent="50"/>
		<element firePercent="50"/>
		<element icePercent="50"/>
		<element holyPercent="50"/>
	</elements>
	<immunities>
		<immunity poison="1"/>
		<immunity lifedrain="1"/>
		<immunity paralyze="1"/>
		<immunity outfit="1"/>
		<immunity drunk="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="2000" chance="5">
		<voice sentence="IT TOOK AN ARMY OF YOUR KIND TO DEFEAT THE WARDEN. NOW YOU ARE ALONE!" yell="1"/>
		<voice sentence="FEELS GOOD TO BE BACK IN ACTION!" yell="1"/>
		<voice sentence="THE WARDS ARE FAILING! MY ESCAPE IS ONLY A MATTER OF TIME!" yell="1"/>
	</voices>
	<loot>
		<item id="22396" chance="10000000"/><!-- cluster of solace -->
		<item id="22397" chance="10000000"/><!-- Dream Matter -->
		<item id="22598" chance="10000000"/><!-- Unrealized Dream -->
		<item id="6500" countmax="5" chance="10000000"/><!-- Demonic Essence -->
		<item id="5954" chance="10000"/><!-- demon horn -->
		<item id="22610" chance="5560"/><!-- dream warden mask -->
		<item id="2148" countmax="200" chance="100000"/><!-- gold coin -->
		<item id="2152" countmax="50" chance="100000"/><!-- platinum coin -->
		<item id="7590" countmax="10" chance="33330"/><!-- gmp -->
		<item id="8473" countmax="10" chance="38890"/><!-- uhp -->
		<item id="8472" countmax="5" chance="27780"/><!-- gsp -->
		<item id="18413" countmax="8" chance="22220"/><!-- blue crystal shard -->
		<item id="18414" countmax="8" chance="33330"/><!-- violet crystal shard -->
		<item id="18415" countmax="8" chance="44440"/><!-- green crystal shard -->
		<item id="9971" chance="16670"/><!-- gold ingot -->
		<item id="7632" chance="38890"/><!-- giant shimmering pearl -->
		<item id="7633" chance="38890"/><!-- giant shimmering pearl -->
		<item id="2520" chance="11110"/><!-- demon shield -->
		<item id="2515" chance="22220"/><!-- guardian shield -->
		<item id="2519" chance="11110"/><!-- crown shield -->
		<item id="2514" chance="3560"/><!-- mastermind shield -->
		<item id="8882" chance="460"/><!-- Earthborn Titan Armor -->
		<item id="8891" chance="5560"/><!-- paladin armor -->
		<item id="8879" chance="1010"/><!-- voltage armor -->
		<item id="8877" chance="1010"/><!-- lavos armor -->
		<item id="2155" chance="16670"/><!-- green gem -->
		<item id="2158" chance="11110"/><!-- blue gem -->
	</loot>
</monster>
