Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Archidemon" nameDescription="an Archidemon" race="undead" experience="25" speed="100" manacost="0">
<health now="55" max="55"/>
<look type="12" head="0" body="123" legs="97" feet="94" corpse="6068"/>
<targetchange interval="10000" chance="20"/>
<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="98"/>
<flag targetdistance="1"/>
<flag runonhealth="5"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-0" max="-1"/>
<attack name="melee" interval="2000" chance="40" range="7" radius="6" target="0" min="-5" max="-10">
<attribute key="areaEffect" value="blackspark"/>
</attacks>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="30">
<voice sentence="Im back from my grave to kill all who stand in my way!"/>
</voices>
<loot>
<item id="2148" countmax="14" chance="435000" /><!-- gold coin -->
<item id="7618" countmax="2" chance="15000" /><!-- health potion -->
<item id="8704" countmax="4" chance="435000" /><!-- small health potion -->
</loot>
</monster>
I keep getting this :
Code:
[10/10/2010 14:51:00] [Warning - Monsters::loadMonster] Cannot load monster (Archidemon) file (data/monster/Custom Monsters/Archidemon.xml).
[10/10/2010 14:51:00] Line: 45, Info: Premature end of data in tag monster line 2