<?xml version="1.0" encoding="UTF-8"?>
<monster name="Earth Elemental" nameDescription="an earth elemental" race="undead" experience="450" speed="220" manacost="0">
	<health now="650" max="650"/>
	<look type="301" corpse="8933"/>
	<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 staticattack="80"/>
		<flag lightlevel="0"/>
		<flag lightcolor="0"/>
		<flag targetdistance="1"/>
		<flag runonhealth="80"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="45" attack="40"/>
		<attack name="earth" interval="2000" chance="10" range="7" target="1" min="-72" max="-105">
			<attribute key="shootEffect" value="smallearth"/>
			<attribute key="areaEffect" value="greenbubble"/>
		</attack>
		<attack name="physical" interval="2000" chance="10" range="7" radius="2" target="1" min="-0" max="-100">
			<attribute key="shootEffect" value="largerock"/>
			<attribute key="areaEffect" value="poff"/>
		</attack>
		<attack name="poisoncondition" interval="2000" chance="20" length="6" spread="0" min="-200" max="-260">
			<attribute key="areaEffect" value="bigplants"/>
		</attack>
		<attack name="poisoncondition" interval="2000" chance="10" target="0" radius="5" min="-100" max="-140">
			<attribute key="shootEffect" value="poison"/>
			<attribute key="areaEffect" value="poison"/>
		</attack>
		<attack name="speed" interval="2000" chance="10" range="5" target="1" speedchange="-330" duration="5000">
			<attribute key="areaEffect" value="smallplants"/>
		</attack>
	</attacks>
	<defenses armor="25" defense="25">
		<defense name="healing" interval="2000" chance="5" min="60" max="80">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
		<immunity earth="1"/>
		<immunity energy="1"/>
	</immunities>
	<loot>
		<item id="2148" countmax="100" chance="43000" /><!-- gold coin -->
		<item id="2148" countmax="30" chance="50000" /><!-- gold coin -->
		<item id="11222" chance="20460" /><!-- lump of earth -->
		<item id="7850" countmax="30" chance="20160" /><!-- earth arrow -->
		<item id="2260" chance="10000" /><!-- blank rune -->
		<item id="7589" chance="1910" /><!-- strong mana potion -->
		<item id="11339" chance="570" /><!-- clay lump -->
		<item id="13757" chance="470" /><!-- coal -->
		<item id="9808" chance="350" /><!-- rusty armor -->
		<item id="1294" countmax="10" chance="10000" /><!-- small stone -->
		<item id="9970" chance="620" /><!-- small topaz -->
	</loot>
</monster>
