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

Custom monster error.

Snach

Sensei
Joined
Aug 8, 2009
Messages
1,694
Reaction score
84
Location
Estonia
Can anyone help to fix it? :S

bugster.png


Diablo.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Diablo" nameDescription="a diablo" race="fire" experience="30000" speed="700" manacost="10000"/>
	<health now="600000" max="600000"/>
  <look type="300" corpse="6324"/>
  <targetchange interval="5000" chance="8"/>
  <strategy attack="100" defense="0"/>
<script>
	<event name="MonsterPortal"/>
</script>
  <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="1"/>
    <flag staticattack="40"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-5000" max="-6000"/>

    <attack name="manadrain" interval="3000" chance="13" range="7" min="-500" max="-1000"/>

    <attack name="fire" interval="1000" chance="34" range="7" radius="7" target="1" min="-110" max="-200">
    <attribute key="shootEffect" value="fire"/>
    <attribute key="areaEffect" value="firearea"/>
    </attack>

    <attack name="firefield" interval="1000" chance="15" range="7" radius="1" target="1">
      <attribute key="shootEffect" value="fire"/>
    </attack>

    <attack name="energy" interval="3000" chance="30" length="8" spread="0" min="-1000" max="-2000">
      <attribute key="areaEffect" value="energy"/>
    </attack>

  </attacks>
  <defenses armor="50" defense="55">
    <defense name="healing" interval="1000" chance="15" min="1000" max="1500">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="1"/>
    <immunity fire="1"/>
    <immunity poison="1"/>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity outfit="1"/>
    <immunity drunk="1"/>
    <immunity invisible="1"/>
  </immunities>
  <summons maxSummons="2">
    <summon name="heater" interval="2500" chance="10" max="2"/>
  </summons>
  <voices interval="5000" chance="10">
    <voice sentence="MUHAHAHAHA!" yell="1"/>
    <voice sentence="I SMELL BLOOD!" yell="1"/>
    <voice sentence="DIE MORTALS!DIE!!" yell="1"/>
    <voice sentence="BAHAHAHAHAHAHA"/>
    <voice sentence="YOU WILL NEVER SEE LIGHT AGAIN!" yell="0"/>
  </voices>
<loot>
	<item id="7957" chance="50"/>
      <item id="8821" chance="50"/>
      <item id="8923" chance="50"/>
      <item id="3982" chance="50"/>
 	<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
 	<item id="2148" countmax="25" chance1="100000" chancemax="0"/>
 	<item id="2393" chance="1428"/> --giantsword
 	<item id="2514" chance="500"/> --mastermind shield
 	<item id="2432" chance="1200"/> --fire axe
 	<item id="2472" chance="130"/> --magic plate armor
 	<item id="5906" countmax="1" chance="1000"/> -- demon dust
	<item id="5954" countmax="1" chance="1000"/> -- demon horn
        <item id="2164" chance="200"/> --might ring
        <item id="2176" chance="3000"/> --orb
        <item id="1982" chance="1300"/> --purpel tome
        <item id="2165" chance="1400"/> --stealth ring
 	<item id="1987" chance="100000">
 	<inside>
      <item id="2795" countmax="6" chance="20000"/>
  	<item id="2678" countmax="3" chance1="10000" chancemax="0"/>
 	<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
 	<item id="2151" countmax="4" chance1="4000" chancemax="0"/>
 	<item id="2462" chance="1200"/> --devil helmet
	<item id="2149" countmax="3" chance1="11000" chancemax="0"/>
 	<item id="2171" chance="800"/> --platinum amulet
 	<item id="2387" chance="20000"/> --double axe
 	<item id="2470" chance="400"/> --golden legs
 	<item id="2520" chance="700"/> --demon shield
 	<item id="2418" chance="1500"/> --golden sickle
 	<item id="7382" chance="4100"/> --demonrage sword 
 	<item id="2377" chance="3333"/> --two-handed sword
 	</inside>
 	</item>
</loot>
</monster>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Diablo" nameDescription="a diablo" race="fire" experience="30000" speed="700" manacost="10000">
	<health now="600000" max="600000"/>
	<look type="300" corpse="6324"/>
	<targetchange interval="5000" chance="8"/>
	<strategy attack="100" defense="0"/>
	<script>
		<event name="MonsterPortal"/>
	</script>
	<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="1"/>
		<flag staticattack="40"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="-5000" max="-6000"/>
		<attack name="manadrain" interval="3000" chance="13" range="7" min="-500" max="-1000"/>
		<attack name="fire" interval="1000" chance="34" range="7" radius="7" target="1" min="-110" max="-200">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="firefield" interval="1000" chance="15" range="7" radius="1" target="1">
			<attribute key="shootEffect" value="fire"/>
		</attack>
		<attack name="energy" interval="3000" chance="30" length="8" spread="0" min="-1000" max="-2000">
			<attribute key="areaEffect" value="energy"/>
		</attack>
	</attacks>
	<defenses armor="50" defense="55">
		<defense name="healing" interval="1000" chance="15" min="1000" max="1500">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="1"/>
		<immunity fire="1"/>
		<immunity poison="1"/>
		<immunity lifedrain="1"/>
		<immunity paralyze="1"/>
		<immunity outfit="1"/>
		<immunity drunk="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="2">
		<summon name="heater" interval="2500" chance="10" max="2"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="MUHAHAHAHA!" yell="1"/>
		<voice sentence="I SMELL BLOOD!" yell="1"/>
		<voice sentence="DIE MORTALS!DIE!!" yell="1"/>
		<voice sentence="BAHAHAHAHAHAHA"/>
		<voice sentence="YOU WILL NEVER SEE LIGHT AGAIN!" yell="1"/>
	</voices>
	<loot>
		<item id="7957" chance="50"/>
		<item id="8821" chance="50"/>
		<item id="8923" chance="50"/>
		<item id="3982" chance="50"/>
		<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
		<item id="2148" countmax="25" chance1="100000" chancemax="0"/>
		<item id="2393" chance="1428"/> --giantsword
		<item id="2514" chance="500"/> --mastermind shield
		<item id="2432" chance="1200"/> --fire axe
		<item id="2472" chance="130"/> --magic plate armor
		<item id="5906" countmax="1" chance="1000"/> -- demon dust
		<item id="5954" countmax="1" chance="1000"/> -- demon horn
		<item id="2164" chance="200"/> --might ring
		<item id="2176" chance="3000"/> --orb
		<item id="1982" chance="1300"/> --purpel tome
		<item id="2165" chance="1400"/> --stealth ring
		<item id="1987" chance="100000">
			<inside>
				<item id="2795" countmax="6" chance="20000"/>
				<item id="2678" countmax="3" chance1="10000" chancemax="0"/>
				<item id="2148" countmax="100" chance1="100000" chancemax="0"/>
				<item id="2151" countmax="4" chance1="4000" chancemax="0"/>
				<item id="2462" chance="1200"/> --devil helmet
				<item id="2149" countmax="3" chance1="11000" chancemax="0"/>
				<item id="2171" chance="800"/> --platinum amulet
				<item id="2387" chance="20000"/> --double axe
				<item id="2470" chance="400"/> --golden legs
				<item id="2520" chance="700"/> --demon shield
				<item id="2418" chance="1500"/> --golden sickle
				<item id="7382" chance="4100"/> --demonrage sword 
				<item id="2377" chance="3333"/> --two-handed sword
			</inside>
		</item>
	</loot>
</monster>
 
Back
Top