XxDeathAvenger
New Member
- Joined
- May 5, 2011
- Messages
- 95
- Reaction score
- 2
Hi guys, I made a script for a custom creature but I get an error in RME that says "invalid format?"
Here is the script.
Also, here is the monster.xml script.
Thank you guys for any help!
Here is the script.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Death Serpent" nameDescription="The Death Serpent" race="undead" experience="7600" speed="410" manacost="0">
<health now="14800" max="14800"/>
<look type="351" head="0" body="0" legs="0" feet="0" corpse="11356"/>
<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="366"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="92" attack="500" poison="1700"/>
<attack name="poisoncondition" interval="2000" chance="8" target="1" range="7" min="-91320" max="-1880">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="lifedrain" interval="2000" chance="15" range="7" target="1" min="-280" max="-430">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="physical" interval="2000" chance="9" range="7" target="1" min="-500" max="-2077">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="physical" interval="2000" chance="11" radius="4" min="-100" max="-480">
<attribute key="shootEffect" value="suddendeath"/>
<attribute key="areaEffect" value="mortarea"/>
</attack>
<defense name="speed" interval="2000" chance="10" speedchange="550" duration="5000">
<attribute key="areaEffect" value="blackshimmer"/>
</defense>
</attacks>
<defenses armor="65" defense="45"/>
<elements>
<element firePercent="20"/>
<element icePercent="50"/>
<element physicalPercent="-15"/>
<element holyPercent="-20"/>
<element energyPercent="-5"/>
</elements>
<immunities>
<immunity paralyze="1"/>
<immunity invisible="1"/>
<immunity death="1"/>
<immunity earth="1"/>
</immunities>
<voices interval="5000" chance="15">
<voice sentence="EMBRACE MY GIFTS!" yell="1"/>
<voice sentence="I WILL FEAST ON YOUR SOUL!" yell="1"/>
<voice sentence="I AM DEATH!" yell="1"
</voices>
<loot>
<item id="11366" chance="6950" /><!-- ghastly dragon head -->
<item id="8473" chance="5525" /><!-- ultimate health potion -->
<item id="11368" chance="1125" /><!-- jade hat -->
<item id="5944" chance="12650" /><!-- soul orb -->
<item id="11323" chance="8525" /><!-- zaoan halberd -->
<item id="8472" chance="4150" /><!-- great spirit potion -->
<item id="2152" countmax="2" chance="23300" /><!-- platinum coin -->
<item id="11301" chance="1225" /><!-- zaoan armor -->
<item id="7591" chance="10700" /><!-- great health potion -->
<item id="11367" chance="21375" /><!-- undead heart -->
<item id="2148" countmax="100" chance="43725" /><!-- gold coin -->
<item id="2148" countmax="100" chance="43725" /><!-- gold coin -->
<item id="2148" countmax="68" chance="43725" /><!-- gold coin -->
<item id="6500" countmax="3" chance="9600" /><!-- demonic essence -->
<item id="1987" chance="100000"><!-- bag -->
<inside>
<item id="9810" chance="3500" /><!-- rusty armor -->
<item id="11304" chance="1650" /><!-- zaoan legs -->
<item id="11309" chance="5775" /><!-- twin hooks -->
<item id="11305" chance="1075" /><!-- drakinata -->
<item id="11355" chance="1200" /><!-- spellweaver's robe -->
<item id="11227" chance="1325" /><!-- shiny stone -->
<item id="11240" chance="650" /><!-- guardian boots -->
<item id="11307" chance="550" /><!-- zaoan sword -->
<item id="11303" chance="1550" /><!-- zaoan shoes -->
<item id="11302" chance="650" /><!-- zaoan helmet -->
</inside>
</item>
</loot>
</monster>
Also, here is the monster.xml script.
Code:
<monster name="Death Serpent" file="DeathSerpent.xml"/>
Thank you guys for any help!