<?xml version="1.0" encoding="UTF-8"?>
<monster name="Rustheap Golem" nameDescription="a rustheap golem" race="energy" experience="2300" speed="250" manacost="0">
	<health now="2800" max="2800" />
	<look type="603" corpse="23355" />
  <targetchange interval="2000" chance="5" />
  <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 targetdistance="1" />
    <flag staticattack="90" />
    <flag runonhealth="0" />
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="118" attack="50" />
    <attack name="rustheap golem electrify" interval="2000" chance="11" range="7" />
    <attack name="frazzlemaw paralyze" interval="2000" chance="10" />
    <attack name="rustheap golem wave" interval="2000" chance="9" min="-100" max="-210" />
  </attacks>
  <defenses armor="40" defense="45">
    <defense name="speed" interval="2000" chance="11" speedchange="428" duration="6000">
      <attribute key="areaEffect" value="blueshimmer" />
    </defense>
  </defenses>
  <elements>
    <element firePercent="70" />
    <element energyPercent="-5" />
    <element physicalPercent="-5" />
    <element deathPercent="10" />
  </elements>
  <immunities>
    <immunity invisible="1" />
    <immunity paralyze="1" />
	<immunity lifedrain="1" />
  </immunities>
	<voices interval="2000" chance="5">
		<voice sentence="*clatter*" />
		<voice sentence="*krrk*" />
		<voice sentence="*frzzp*" />
	</voices>
	<loot>
		<item id="8309" countmax="1" chance="1950" /><!-- nail -->
		<item id="9930" countmax="1" chance="5860" /><!-- flask of rust remover -->
		<item id="23567" chance="14980" /><!-- necromantic rust -->
		<item id="2148" countmax="290" chance="100000" /><!-- gold coin -->
		<item id="5880" chance="330" /><!-- iron ore -->
		<item id="24417" chance="1950" /><!-- bronze gear wheel -->
		<item id="2152" countmax="3" chance="58310" /><!-- platinum coin -->
		<item id="2143" chance="1300" /><!-- white pearl -->
		<item id="2144" chance="1630" /><!-- black pearl -->
		<item id="7588" countmax="2" chance="10100" /><!-- strong health potion -->
		<item id="7589" countmax="2" chance="7170" /><!-- strong mana potion -->
		<item id="2391" chance="3580" /><!-- war hammer -->
		<item id="7452" chance="330" /><!-- spiked squelcher -->
		<item id="23542" chance="330" /><!-- metal bat -->
		<item id="23541" chance="2930" /><!-- gearwheel chain -->
		<item id="9810" chance="5860" /><!-- rusty armor(rare) -->
		<item id="9813" chance="4230" /><!-- rusty legs(rare) -->
	</loot>
</monster>