<?xml version="1.0" encoding="UTF-8"?>
<monster name="Nightmare" nameDescription="a nightmare" race="blood" experience="2150" speed="240" manacost="0">
	<health now="2700" max="2700"/>
	<look type="245" corpse="6340"/>
	<targetchange interval="4000" chance="10"/>
	<flags>
        <flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="300"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="50" attack="50"/>
		<attack name="death" interval="2000" chance="10" range="7" radius="1" target="1" min="-120" max="-170">
			<attribute key="shootEffect" value="death"/>
			<attribute key="areaEffect" value="smallclouds"/>
		</attack>
		<attack name="earth" interval="2000" chance="20" range="7" radius="4" target="1" min="-150" max="-350">
			<attribute key="shootEffect" value="poison"/>
			<attribute key="areaEffect" value="poison"/>
		</attack>
	</attacks>
	<defenses armor="25" defense="25">
		<defense name="healing" interval="2000" chance="10" min="60" max="100">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="speed" interval="2000" chance="15" speedchange="420" duration="5000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element firePercent="20"/>
		<element energyPercent="20"/>
		<element icePercent="10"/>
		<element holyPercent="-25"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
		<immunity death="1"/>
		<immunity earth="1"/>
		<immunity lifedrain="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Close your eyes... I want to show you something."/>
		<voice sentence="I will haunt you forever!"/>
		<voice sentence="Pffffrrrrrrrrrrrr."/>
		<voice sentence="I will make you scream."/>
		<voice sentence="Take a ride with me."/>
		<voice sentence="Weeeheeheeeheee!"/>
	</voices>
	<loot>
		<item id="2148" countmax="100" chance="50000"/><!-- gold coin -->
		<item id="2148" countmax="55" chance="50000"/><!-- gold coin -->
		<item id="2671" countmax="2" chance="29000"/><!-- ham -->
		<item id="5944" chance="20000"/><!-- soul orb -->
		<item id="6558" countmax="2" chance="19666"/><!-- concentrated demonic blood -->
		<item id="11223" chance="15240"/><!-- essence of a bad dream -->
		<item id="6500" chance="10000"/><!-- demonic essence -->
		<item id="2547" countmax="4" chance="9090"/><!-- power bolt -->
		<item id="11229" chance="9090"/><!-- scythe leg -->
		<item id="2152" countmax="3" chance="2564"/><!-- platinum coin -->
		<item id="6300" chance="1298"/><!-- death ring -->
		<item id="2532" chance="990"/><!-- ancient shield -->
		<item id="2477" chance="961"/><!-- knight legs -->
		<item id="2195" chance="337"/><!-- boots of haste -->
		<item id="6526" chance="337"/><!-- skeleton decoration -->
		<item id="5669" chance="123"/><!-- mysterious voodoo skull -->
		<item id="2454" chance="95"/><!-- war axe -->
	</loot>
</monster>
