• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Decay monsters corpse.

medium

New Member
Joined
Nov 2, 2011
Messages
54
Reaction score
0
Hi !

I have monster - wolf.xml :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Wolf" nameDescription="a wolf" race="blood" experience="3000" speed="195" manacost="255">
    <health now="100" max="100"/>
    <look type="27" corpse="2827"/>
    <targetchange interval="2000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
        <flag summonable="1"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="1"/>
        <flag convinceable="1"/>
        <flag pushable="1"/>
        <flag canpushitems="0"/>
        <flag canpushcreatures="0"/>
        <flag targetdistance="1"/>
        <flag staticattack="90"/>
        <flag runonhealth="8"/>
    </flags>
    <attacks>
        <attack name="melee" interval="1500" skill="19" attack="100"/>
    </attacks>
    <defenses armor="1" defense="4"/>
    <elements>
        <element earthPercent="10"/>
        <element holyPercent="10"/>
        <element icePercent="-5"/>
        <elemetn deathPercent="-5"/>
    </elements>
    <loot>
        <item id="3976" countmax="4" chance="50000"/><!-- worm -->
        <item id="2666" countmax="3" chance="90000"/><!-- meat -->
    </loot>
</monster>
If he dies , he leaves corpse = 2827 - Nice
But after some time corpse change on 2827 - Not Nice
Where i can change it ?
I want 2870 was decay for all monsters.

Please help me !
 
I miss you point you need all monster have decay with this 2827 ?
or what?
but u can do it in item.xml
Code:
    <item id="2826" article="a" name="dead wolf">
        <attribute key="weight" value="26000" />
        <attribute key="containerSize" value="5" />
        <attribute key="decayTo" value="2827" />
        <attribute key="duration" value="900" />
        <attribute key="corpseType" value="blood" />
    </item>
    <item id="2827" article="a" name="dead wolf">
        <attribute key="weight" value="20000" />
        <attribute key="containerSize" value="5" />
        <attribute key="decayTo" value="2828" />
        <attribute key="duration" value="900" />
        <attribute key="corpseType" value="blood" />
    </item>
    <item id="2828" article="a" name="dead wolf">
        <attribute key="weight" value="8000" />
        <attribute key="decayTo" value="2829" />
        <attribute key="duration" value="600" />
        <attribute key="corpseType" value="blood" />
    </item>
    <item id="2829" article="a" name="dead wolf">
        <attribute key="weight" value="4000" />
        <attribute key="decayTo" value="0" />
        <attribute key="duration" value="600" />
        <attribute key="corpseType" value="blood" />
    </item>

as You See First Corpse is 2826
then decayed to be 0
0 = Disappear :D
 
Back
Top Bottom