Progenosis
Member
- Joined
- Sep 6, 2011
- Messages
- 131
- Reaction score
- 18
So I got this monster script:
But the console shows this error:
How can I fix it?
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="North Winter" nameDescription="a north winter" race="undead" experience="1000" speed="400" manacost="0">
<health now="10000" max="10000"/>
<look typeex="9110" corpse="2019"/>
<targetchange interval="5000" chance="6"/>
<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="250"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-400"/>
<attribute key="areaEffect" value="iceattack"/>
</attack>
<attack name="divine missile" interval="4500" chance="33" min="-480" max="-500"/>
<attack name="paralyze" interval="3500" chance="25"/>
<attack name="ice" interval="1000" chance="10" length="9" spread="3" min="-365" max="-491">
<attribute key="areaEffect" value="icearea"/>
</attack>
</attacks>
<defenses armor="22" defense="35">
<defense name="healing" interval="1000" chance="25" min="57" max="730">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
<immunity ice="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="North remembers..." yell="1"/>
<voice sentence="Winter wind!" yell="1"/>
<voice sentence="Freeze!!" yell="1"/>
</voices>
<loot>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/> --Gold Coins
<item id="2033" chance="1968"/> --Golden Mug
<item id="7290" chance="3777"/> --Shard
<item id="2396" chance="1620"/> --Ice Rapier
</loot>
</monster>
But the console shows this error:
Code:
[15/10/2014 13:59:43] [Warning - Monsters::loadMonster] Cannot load monster (North Winter) file (data/monster/AAProgenic/northwinter.xml).
[15/10/2014 13:59:43] Line: 30, Info: Extra content at the end of the document
How can I fix it?