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

Whats wrong with this monster?

Grehy

Killroy
Joined
Nov 21, 2008
Messages
2,631
Reaction score
33
Location
United States
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="cave rat" nameDescription="a cave rat" race="blood" experience="10" speed="150" manacost="250">
  <health now="30" max="30"/>
  <look type="56" head="20" body="30" legs="40" feet="50" corpse="5964"/>
  <targetchange interval="2000" chance="0"/>
  <strategy attack="100" defense="0"/>
  <flags>
    <flag summonable="1"/>
    <flag attackable="1"/>
    <flag hostile="1"/>
    <flag illusionable="1"/>
    <flag convinceable="1"/>
    <flag pushable="1"/>
    <flag canpushitems="0"/>
    <flag canpushcreatures="0"/>
    <flag targetdistance="1"/>
    <flag staticattack="90"/>
    <flag runonhealth="3"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="18" attack="8"/>
  </attacks>
  <defenses armor="1" defense="3"/>
  <elements>
	<element firePercent="-13"/>
  </elements>
  <voices interval="5000" chance="10">
    <voice sentence="Meeeeep!"/>
    <voice sentence="Meep!"/>
  </voices>
  <loot>
		<item id="2195" chance="9199"/>   
		<item id="2514" chance="1288"/>   
		<item id="2148" countmax="100" chance1="100000" chancemax="0"/> 
		<item id="2647" chance="80000"/>   
		<item id="2545" countmax="15" chance1="91000" chancemax="0"/> 
		<item id="2645" chance="85000"/>   
		<item id="2520" chance="6199"/>    
		<item id="2679" countmax="40" chance1="50000" chancemax="0"/> 
		<item id="2213" chance="50000" />
		<item id="1987" chance="100000"/> 
	<inside>
		<item id="2152" countmax="10" chance1="98000" chancemax="0"/>  
		<item id="2194" chance="1000"/>    
		<item id="2491" chance="60000"/>  
		<item id="7452" chance="10000"/>   
		<item id="2171" chance="20000"/>   
		<item id="2377" chance="20000"/>  
		<item id="2168" chance="20000"/>  
		<item id="2174" chance="10000"/>  
			</inside>
	</item>
  </loot>
</monster>

I get this error;
Code:
[29/06/2009 22:54:10] [Warning - Monsters::loadMonster] Cannot load monster (Cave Rat) file (data/monster/Rats/cave rat.xml).
[29/06/2009 22:54:10] Line: 54, Info: Extra content at the end of the document


I don't see anything wrong but obviously something is, all that was changed was the loot
 
Back
Top