Hello
My error in console
And it is my script monster:
My error in console
data/monster/wanalizator.xml:99: parser error : Opening and ending tag mismatch: loot line 71 and item
</item>
^
data/monster/wanalizator.xml:100: parser error : Opening and ending tag mismatch : monster line 2 and loot
</loot>
^
data/monster/wanalizator.xml:101: parser error : Extra content at the end of the document
</monster>
^
[Warning - Monsters::loadMonster] Cannot load monster (Wanalizator) file (data/m onster/wanalizator.xml).
Line: 101, Info: Extra content at the end of the document
And it is my script monster:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Demon Rocket" nameDescription="a demon rocket" race="fire" experience="6000000" speed="310" manacost="0">
<health now="482000" max="482000"/>
<look type="35" corpse="5995"/>
<targetchange interval="5000" 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 targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-0" max="-2520"/>
<attack name="manadrain" interval="2000" chance="13" range="7" min="-800" max="-1020"/>
<attack name="fire" interval="2000" chance="15" range="7" radius="7" target="1" min="-3050" max="-4050">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="firefield" interval="2000" chance="11" range="7" radius="1" target="1">
<attribute key="shootEffect" value="fire"/>
</attack>
<attack name="lifedrain" interval="2000" chance="10" length="8" spread="0" min="-1500" max="-2600">
<attribute key="areaEffect" value="purpleenergy"/>
</attack>
<attack name="energy" interval="2000" chance="8" range="1" target="1" min="-1500" max="-2400">
<attribute key="areaEffect" value="energyarea"/>
<attribute key="shootEffect" value="energyball"/>
</attack>
</attacks>
<defenses armor="48" defense="49">
<defense name="healing" interval="2000" chance="15" min="90" max="150">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="speed" interval="1000" chance="6" speedchange="330" duration="10000">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
</defenses>
<elements>
<element physicalPercent="30"/>
<element energyPercent="50"/>
<element earthPercent="80"/>
<element icePercent="-20"/>
<element holyPercent="-15"/>
<element deathPercent="20"/>
</elements>
<immunities>
<immunity drown="1"/>
<immunity fire="1"/>
<immunity paralyze="1"/>
<immunity lifedrain="1"/>
<immunity invisible="1"/>
</immunities>
<summons maxSummons="1">
<summon name="fire elemental" interval="1000" chance="13"/>
</summons>
<voices interval="5000" chance="10">
<voice sentence="MUHAHAHAHA!" yell="1"/>
<voice sentence="I SMELL FEEEEEAAAR!" yell="1"/>
<voice sentence="CHAMEK ATH UTHUL ARAK!" yell="1"/>
<voice sentence="Your resistance is futile!"/>
<voice sentence="Your soul will be mine!"/>
</voices>
<loot>
<item id="5897" countmax="10" chance1="10000" chancemax="0"/> -- gold coins
<item id="5896" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5895" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5894" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5893" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5889" countmax="1" chance1="8000" chancemax="0"/> -- gold coins
<item id="5891" countmax="4" chance1="3000" chancemax="0"/> -- gold coins
<item id="5890" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5948" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5899" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5900" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5898" countmax="4" chance1="3000" chancemax="0"/> -- gold coins
<item id="5906" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<inside>
<item id="2148" countmax="100" chance1="10000" chancemax="0"/> -- gold coin
<item id="5885" chance1="3200" chancemax="0"/> --talon
<item id="5909" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5910" countmax="6" chance1="8000" chancemax="0"/> -- gold coins
<item id="5911" countmax="4" chance1="3000" chancemax="0"/> -- gold coins
<item id="5912" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
<item id="5913" countmax="6" chance1="8000" chancemax="0"/> -- gold coins
<item id="5914" countmax="4" chance1="3000" chancemax="0"/> -- gold coins
<item id="5925" countmax="10" chance1="8000" chancemax="0"/> -- gold coins
</inside>
</item>
</loot>
</monster>