Facing this problem, how can I solve it?
The monster runs and drops the loot items, but the engine encounters this error
[Warning - Monsters::loadMonster] Cant load loot. data/monster/Dragons/frost dra
gon.xml
The monster runs and drops the loot items, but the engine encounters this error
[Warning - Monsters::loadMonster] Cant load loot. data/monster/Dragons/frost dra
gon.xml
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Frost Dragon" nameDescription="a frost dragon" race="undead" experience="2300" speed="260" manacost="0">
<health now="1800" max="1800"/>
<look type="248" head="20" body="30" legs="40" feet="50" corpse="7091"/>
<targetchange interval="5000" chance="6"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="1"/>
<flag staticattack="70"/>
<flag runonhealth="250"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="68" attack="120"/>
<attack name="physical" interval="2000" chance="25" range="7" radius="4" target="1" min="-80" max="-180">
<attribute key="shootEffect" value="energy"/>
<attribute key="areaEffect" value="blackspark"/>
</attack>
<attack name="physical" interval="3000" chance="20" length="7" spread="3" min="-100" max="-260">
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="melee" interval="2000" chance="19" range="7" radius="3" target="0" min="-0" max="-70">
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="speed" interval="4000" chance="25" range="7" target="1" speedchange="-600" duration="50000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="22" defense="35">
<defense name="healing" interval="1000" chance="25" min="80" max="120">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<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="10">
<voice sentence="YOU WILL FREEZE!" yell="1"/>
<voice sentence="ZCHHHHH!" yell="1"/>
<voice sentence="I am so cool" yell="1"/>
<voice sentence="Chill out!." yell="1"/>
</voices>
<loot>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/> --Gold Coins
<item id="2672" countmax="1" chance1="33000" chancemax="0"/> --Dragon Ham
<item id="2033" chance="1968"/> --Golden Mug
<item id="1973" chance="5222"/> --Book
<item id="7290" chance="4000"/> --Shard
<item id="2498" chance="1200"/> --Royal Helmet
<item id="2492" chance="855"/> --Dragon Scale Mail
<item id="2547" countmax="1" chance1="3500" chancemax="0"/> --Power Bolt
<item id="2796" countmax="1" chance1="8000" chancemax="0"/> --Green Mushroom
<item id="1987" chance="100000"> --Bag
<inside>
<item id="2148" countmax="63" chance1="88888" chancemax="0"/> --Gold Coins
<item id="2146" countmax="1" chance1="1483" chancemax="0"/> --Small Sapphire
<item id="2528" chance="2200"/> --Tower Shield
<item id="7441" chance="2900"/> --Ice Cube
<item id="7892" chance="1000"/>
<item id="7896" chance="1000"/>
<item id="7888" chance="1000"/>
<item id="7902" chance="1000"/>
<item id="7897" chance="1000"/>
<item id="7402" chance="885"/> --Dragon Slayer
<item id="2167" chance="2333"/> --Energy Ring
</inside>
</item>
</loot>
</monster>