Witam, mam problem z potworami, a dokładniej z ciałami, które się po nich pojawiają. Gdy zabiję dragon lorda wszystko jest w porządku, ciało normalnie się pokazuje ^_^. Jednak gdy zabiję zwykłego dragona, ciało się nie pokazuje. Nawet nie wyskakuje informacja z tym co "poleciało", a raczej powinno "polecieć".
Dragon.xml
Dragon Lord.xml
Pozdrawiam. Piotr00
Dragon.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="dragon" nameDescription="a dragon" race="blood" experience="700" speed="220" manacost="0">
<health now="1000" max="1000"/>
<look type="34" head="20" body="30" legs="40" feet="50" corpse="5973"/>
<targetchange interval="5000" chance="20"/>
<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="90"/>
<flag runonhealth="300"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="50" attack="50"/>
<attack name="fire" interval="2000" chance="15" range="7" radius="4" target="1" min="-65" max="-115">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="fire" interval="3000" chance="15" length="8" spread="3" min="-110" max="-170">
<attribute key="areaEffect" value="firearea"/>
</attack>
</attacks>
<defenses armor="25" defense="25">
<defense name="healing" interval="1000" chance="13" min="34" max="56">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<immunities>
<immunity fire="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<elements>
<element earthPercent="80"/>
<element energyPercent="20"/>
<element icePercent="-10"/>
</elements>
<voices interval="5000" chance="10">
<voice sentence="GROOAAARRR" yell="1"/>
<voice sentence="FCHHHHH" yell="1"/>
</voices>
<script>
<event name="zaoan"/>
</script>
<loot>
<item id="2672" countmax="3" chance1="20000" chancemax="0"/>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2455" chance="6666"/>
<item id="2434" chance="1333"/>
<item id="2509" chance="1818"/>
<item id="2406" chance="20000"/>
<item id="2647" chance="2222"/>
<item id="2457" chance="3333"/>
<item id="2387" chance="4000"/>
<item id="7430" chance="4000"/>
<item id="2397" chance="5000"/>
<item id="2546" countmax="10" chance1="4000" chancemax="0"/>
<item id="5877" countmax="1" chance1="4000" chancemax="0"/>
<item id="1987" chance="100000">
<inside>
<item id="2398" chance="90000"/>
<item id="2187" chance="2222" /> -- wand of Inferno
<item id="2516" chance="1300"/>
<item id="2145" countmax="3" chance1="1538" chancemax="0"/>
<item id="2177" chance="2000"/>
<item id="2413" chance="3200"/>
<item id="2409" chance="1800"/>
<item id="5920" countmax="2" chance1="5000" chancemax="0"/>
</inside>
</item>
</loot>
</monster>
Dragon Lord.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="dragon lord" nameDescription="a dragon lord" race="blood" experience="2100" speed="245" manacost="0">
<health now="1900" max="1900"/>
<look type="39" head="20" body="30" legs="40" feet="50" corpse="5984"/>
<targetchange interval="5000" chance="8"/>
<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="90"/>
<flag runonhealth="300"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="70" attack="75"/>
<attack name="fire" interval="2000" chance="22" range="7" radius="4" target="1" min="-100" max="-180">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="firefield" interval="1000" chance="15" range="7" radius="4" target="1">
<attribute key="shootEffect" value="fire"/>
</attack>
<attack name="fire" interval="2000" chance="18" length="8" spread="3" min="-150" max="-260">
<attribute key="areaEffect" value="firearea"/>
</attack>
</attacks>
<defenses armor="30" defense="35">
<defense name="healing" interval="1000" chance="25" min="57" max="93">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element energyPercent="20"/>
<element icePercent="-10"/>
<element earthPercent="80"/>
</elements>
<immunities>
<immunity fire="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="ZCHHHHH" yell="1"/>
<voice sentence="YOU WILL BURN!" yell="1"/>
</voices>
<loot>
<item id="2148" countmax="70" chance1="100000" chancemax="0"/>
<item id="2148" countmax="80" chance1="100000" chancemax="0"/>
<item id="2672" countmax="5" chance1="80000" chancemax="0"/>
<item id="2033" chance="1818"/>
<item id="1976" chance="3333"/>
<item id="2413" chance="5000"/>
<item id="2498" chance="300"/>
<item id="2492" chance="200"/>
<item id="7378" countmax="2" chance1="2000" chancemax="0"/>
<item id="2547" countmax="7" chance1="8222" chancemax="0"/>
<item id="2796" countmax="1" chance1="6666" chancemax="0"/>
<item id="5948" countmax="1" chance1="5000" chancemax="0"/>
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
<item id="2149" countmax="2" chance1="833" chancemax="0"/>
<item id="2392" chance="1428"/>
<item id="2146" countmax="2" chance1="3222" chancemax="0"/>
<item id="2528" chance="2033"/>
<item id="7402" chance="1833"/>
<item id="5882" countmax="1" chance1="5000" chancemax="0"/>
</inside>
</item>
</loot>
</monster>
Pozdrawiam. Piotr00