• 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!

problem on how to make monsters

Eternal Life

New Member
Joined
May 15, 2011
Messages
148
Reaction score
1
Location
Aguadilla,Puerto Rico
Guys i was testing my skills on making monster but for some reason it cant summon it with ./m or ./summon

Here is the script of the mosnter:

PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dragon Slayer" nameDescription="a dragon slayer" race="blood" experience="10000" speed="500" manacost="200">
<health now="200000" max="200000"/>
<look type="143" head="80" body="77" legs="95" feet="114" addons="3" corpse="6022"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="100"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="50"/>
<flag staticattack="100"/>
<flag runonhealth=""/>
</flags>
<attacks>
   
<attack name="melee" interval="2000" min="-1000" max="-3000"/>
      
<attack name="ultimate explosion" interval="500" chance="70" min="-1000" max="-1400"/>
      
<attack name="great energy beam" interval="1000" chance="60" min="-5000" max="-8000"/>
      
<attack name="great fireball" interval="5000" chance="50" min="-1200" max="-3000"/>
    
</attacks>
    <defenses armor="30" defense="30">
      
<defense name="ultimate healing" interval="5000" chance="85" min="2000" max="5000"/>
    
</defenses>
    
<elements>
<element firePercent="100"/>
<element physicalPercent="100"/>
<element earthPercent="50"/>
<element energyPercent="100"/>
<element deathPercent="100"/>
<element icePercent="25"/>
<element holyPercent="0"/>
</elements>
<immunities>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<summons maxSummons="2">
<summon name="Demodras" interval="1000" chance="100" max="2"/>
</summons>
<voices interval="1000" chance="1000">

    <voice sentence="COME HERE YOU BEAST"/>

<voices interval="1000" chance="1000">

    <voice sentence="I AM GOING TO KILL YOU"/>
<voices interval="1000" chance="1000">

<voice sentence="I WILL AVANGE MY FATHER"/>


 </voices>

<loot>
<item id="2492" countmax="1" chance="1000"/>

<item id="1993" chance="1000">

<inside>

<item id="2506" countmax="1" chance="1000"/>

<item id="2160" countmax="35" chance="1000"/>

</inside>

</item>
</loot>
</monster>
I will aprecietaed if you could help me ill rep++! :)
 
clean:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dragon Slayer" nameDescription="a dragon slayer" race="blood" experience="10000" speed="500" manacost="200">
<health now="200000" max="200000"/>
<look type="143" head="80" body="77" legs="95" feet="114" addons="3" corpse="6022"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="100"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="0"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="5"/>
		<flag staticattack="100"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="-1000" max="-3000"/>
	</attacks>
    <defenses armor="30" defense="30">
		<defense name="ultimate healing" interval="5000" chance="85" min="2000" max="5000"/>
	</defenses>
	<elements>
		<element icePercent="25"/>
	</elements>
	<immunities>
		<immunity fire="1"/>
		<immunity physical="1"/>
		<immunity energy="1"/>
		<immunity death="1"/>
		<immunity lifedrain="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="2">
		<summon name="Demodras" interval="1000" chance="100" max="2"/>
	</summons>
	<voices interval="1000" chance="100">
		<voice sentence="COME HERE YOU BEAST"/>
		<voice sentence="I AM GOING TO KILL YOU"/>
		<voice sentence="I WILL AVANGE MY FATHER"/>
	</voices>
	<loot>
		<item id="2492" countmax="1" chance="1000"/>
		<item id="1993" chance="1000">
			<inside>
				<item id="2506" countmax="1" chance="1000"/>
				<item id="2160" countmax="35" chance="1000"/>
			</inside>
		</item>
	</loot>
</monster>
you can not use that spells:
<attack name="ultimate explosion" interval="500" chance="70" min="-1000" max="-1400"/>
<attack name="great energy beam" interval="1000" chance="60" min="-5000" max="-8000"/>
<attack name="great fireball" interval="5000" chance="50" min="-1200" max="-3000"/>
you need to add in your monsters.xml that:
XML:
<monster name="Dragon Slayer" file="Dragon Slayer.xml" />
file and directory name is important!
 
yes it is dragon slayer.xml, and andy why not?? other monster have them here is one from a ferumbras

<attacks>
<attack name="melee" interval="2000" min="-400" max="-1500"/>
<attack name="ultimate explosion" interval="5000" chance="70" min="-1000" max="-1400"/>
<attack name="great energy beam" interval="4000" chance="50" min="-300" max="-700"/>
<attack name="great fireball" interval="7000" chance="50" min="-200" max="-625"/>
</attacks>
 
Back
Top