potatis
New Member
- Joined
- Feb 9, 2012
- Messages
- 73
- Reaction score
- 1
Hi, i just made a custom monster.
All the xml scripts is as it should. But when i /reload monster ingame, and try to spawn it. It doesn't work.
Here's the script:
And here is the other one in monster.xml:
<monster name="Zorro" file="Zorro.xml"/>
All names and capulitar letters are the same. I cant see why it should not work. Anyone?
- - - Updated - - -
When i write /m Zorro it does not spawn
All the xml scripts is as it should. But when i /reload monster ingame, and try to spawn it. It doesn't work.
Here's the script:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Zorro" nameDescription="a zorro race="blood" experience="7000000" speed="2000" manacost="0">
<health now="14550000" max="14550000"/>
<look type="223" corpse="6076"/>
<targetchange interval="5000" chance="20"/>
<strategy attack="300" defense="100"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="0"/>
<flag canpushcreatures="0"/>
<flag staticattack="90"/>
<flag targetdistance="11"/>
<flag runonhealth="3"/>
</flags>
<attack name="melee" interval="2000" skill="300" min="-4000" max="-7000"/>
<attack name="death" interval="1000" chance="70" length="8" spread="0" min="0" max="-800">
<attribute key="areaEffect" value="mortarea"/>
</attack>
<attack name="death" interval="2000" chance="60" target="0" radius="4" min="-200" max="-700">
<attribute key="areaEffect" value="icearea"/>
</attack>
<attack name="physical" interval="3000" chance="40" radius="5" target="1" min="-50" max="-2555">
<attribute key="areaEffect" value="groundshaker"/>
</attack>
<attack name="fire" interval="2000" chance="50" radius="6" target="1" min="-50" max="-900">
<attribute key="areaEffect" value="firearea"/>
<attribute key="shootEffect" value="fire"/>
</attack>
<attack name="manadrain" interval="2000" chance="60" range="7" min="-300" max="-900">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="poison" interval="3000" chance="20" radius="6" target="0" min="-250" max="-550">
<attribute key="areaEffect" value="poison"/>
</attack>
<attack name="energy" interval="2000" chance="18" radius="6" target="0" min="-200" max="-400">
<attribute key="areaEffect" value="energy"/>
</attack>
<attack name="manadrain" interval="2000" chance="16" radius="6" target="0" min="-225" max="-375">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="lifedrain" interval="2000" chance="21" radius="6" target="0" min="-200" max="-450">
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="strength" interval="3000" chance="20" radius="5" target="0" min="-200" max="-600">
<attribute key="areaEffect" value="blackspark"/>
</attack>
<attack name="firecondition" interval="3000" chance="20" range="7" radius="7" target="1" min="-200" max="-800">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="lifedrain" interval="2000" chance="25" length="8" spread="0" min="-50" max="-250">
<attribute key="areaEffect" value="greenspark"/>
</attack>
</attacks>
<defenses armor="130" defense="88">
<defense name="healing" interval="1000" chance="20" min="5000" max="10000">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="speed" interval="1000" chance="4" speedchange="500" duration="7000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element icePercent="20"/>
<element deathPercent="20"/>
<element firePercent="-15"/>
</elements>
<immunities>
<immunity name="paralyze"/>
<immunity lifedrain="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="80">
<voice sentence="Squack!!" yell="1"/>
</voices>
<loot>
<item id="1987" chance="100000">
<inside>
<item id="2646" chance="1000"/> --Golden boots
</inside>
</item>
</loot>
</monster>
And here is the other one in monster.xml:
<monster name="Zorro" file="Zorro.xml"/>
All names and capulitar letters are the same. I cant see why it should not work. Anyone?
- - - Updated - - -
When i write /m Zorro it does not spawn
Last edited: