<?xml version="1.0" encoding="UTF-8"?>
<monster name="demon tree" nameDescription="a demon tree" race="undead" experience="500" speed="0" manacost="0">
<health now="2000" max="2000"/>
<look type="9738" corpse="2253"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="60" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="0"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="40"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" chance="100" min="-0" max="-280" range="1"/>
<attack name="manadrain" interval="2000" chance="15" min="-430" max="-600" range="7">
<attribute key="shootEffect" value="death"/>
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="terra strike" interval="2000" chance="15" min="-0" max="-10"/>
<attack name="stone shower" interval="1000" chance="10" min="-0" max="-150"/>
</attacks>
<defenses armor="50" defense="55"/>
<elements>
<element firePercent="-20"/>
<element physicalPercent="5"/>
<element deathPercent="10"/>
<element icePercent="15"/>
<element holyPercent="35"/>
</elements>
<immunities>
<immunity earth="1"/>
</immunities>
<summons maxSummons="2">
<summon name="haunted treeling" interval="5000" chance="35" max="3"/>
</summons>
<voices interval="5000" chance="10">
<voice sentence="DONT TRUST THE TREES!!" yell="1"/>
<voice sentence="Are you scared? Because i can smell fear!!" yell="0"/>
<voice sentence="MUHAHAHAA!" yell="1"/>
</voices>
<loot>
<item id="2787" countmax="2" chance1="50000" chancemax="0"/> <!-- white mushroom -->
<item id="4860" countmax="1" chance1="50000" chancemax="0"/> <!-- wooden trash -->
<item id="2790" countmax="1" chance1="50000" chancemax="0"/> <!-- orange mushroom -->
<item id="2148" countmax="89" chance1="100000" chancemax="0"/> <!-- gps -->
<item id="1987" chance="100000">
<inside>
<item id="2788" chance="10000"/> <!-- red mushroom -->
<item id="7618" chance="3000"/> <!-- health potion -->
<item id="7588" chance="1200"/> <!-- strong health potion -->
<item id="2146" chance="1500"/> <!-- small emerald -->
<item id="2213" chance="800"/> <!-- dwarven ring -->
<item id="7443" chance="300"/> <!-- bullseye potion -->
<item id="2515" chance="200"/> <!-- guardian shield -->
</inside>
</item>
</loot>
</monster>