Rexanilator
New Member
- Joined
- Oct 3, 2009
- Messages
- 297
- Reaction score
- 2
I am having an issue with my mummy. Once you kill it, you only have just a few seconds to get the items it drops before you are "unable to use this corpse". I am not sure if it is decaying to rapidly or what. I do not have this issue with my other monsters.
Mummy Code:
Corpse of the dead mummy:
Decayed corpse:
Next decay:
Final decay:
Rep for your help...
Mummy Code:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Mummy" nameDescription="a mummy" race="undead" experience="450" speed="220" manacost="0">
<health now="240" max="240"/>
<look type="65" corpse="6004"/>
<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="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="1000" skill="50" attack="32" poison="65"/>
<attack name="lifedrain" interval="1000" chance="15" range="1" min="-30" max="-140"/>
<attack name="speed" interval="1000" chance="8" range="7" speedchange="-600" duration="10000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="34" defense="20"/>
<elements>
<element earthPercent="100"/>
<element deathPercent="100"/>
<element icePercent="22"/>
<element holyPercent="-25"/>
</elements>
<immunities>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="I will ssswallow your sssoul!"/>
<voice sentence="Mort ulhegh dakh visss."/>
<voice sentence="Flesssh to dussst!"/>
<voice sentence="I will tassste life again!"/>
<voice sentence="Ahkahra exura belil mort!"/>
<voice sentence="Yohag Sssetham!"/>
</voices>
<loot>
<item id="2148" countmax="80" chance="100000"/><!-- gold coin -->
<item id="2161" chance="3333"/><!-- strange talisman -->
<item id="2162" chance="1818"/><!-- magic lightwand -->
<item id="2134" chance="6666"/><!-- silver brooch -->
<item id="2411" chance="2857"/><!-- poison dagger -->
<item id="2529" chance="2557"/><!-- black shield -->
<item id="5914" countmax="1" chance="5000"/><!-- yellow piece of cloth -->
<item id="1987" chance="100000"><!-- bag -->
<inside>
<item id="2529" chance="1428"/><!-- black shield -->
<item id="2144" countmax="2" chance="5000"/><!-- black pearl -->
<item id="2124" chance="2000"/><!-- crystal ring -->
<item id="2169" chance="1333"/><!-- time ring -->
<item id="2170" chance="2500"/><!-- silver amulet -->
</inside>
</item>
</loot>
</monster>
Corpse of the dead mummy:
Code:
<item id="6004" article="a" name="slain mummy">
<attribute key="containerSize" value="10" />
<attribute key="decayTo" value="2949" />
<attribute key="duration" value="10" />
<attribute key="corpseType" value="undead" />
</item>
Decayed corpse:
Code:
<item id="2949" article="a" name="slain mummy">
<attribute key="weight" value="1000" />
<attribute key="containerSize" value="10" />
<attribute key="decayTo" value="2950" />
<attribute key="duration" value="900" />
<attribute key="corpseType" value="undead" />
</item>
Next decay:
Code:
<item id="2950" article="a" name="slain mummy">
<attribute key="weight" value="1000" />
<attribute key="decayTo" value="2951" />
<attribute key="duration" value="600" />
<attribute key="corpseType" value="undead" />
</item>
Final decay:
Code:
<item id="2951" article="a" name="slain mummy">
<attribute key="weight" value="1000" />
<attribute key="decayTo" value="0" />
<attribute key="duration" value="600" />
<attribute key="corpseType" value="undead" />
</item>
Rep for your help...