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

Problems with Monsters.

I r New

New Member
Joined
Feb 1, 2008
Messages
137
Reaction score
1
Iv'e deleted ALL Monsters accept the ones I want looktypes + base scripts from and all monsters from the Monsters.xml file.

I'm trying to make a trainer with this
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Trainer" nameDescription="a little person" race="blood" experience="30" speed="1" manacost="0"/>
	<health now="8000000" max="8000000"/>
	<look type="216" head="0" body="0" legs="0" feet="0" corpse="4310"/>
	<targetchange interval="2000" chance="0"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="0"/>
		<flag pushable="1"/>
		<flag canpushitems="0"/>
		<flag canpushcreatures="0"/>
		<flag targetdistance="0"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="1" attack="2"/>
		</attack>
	</attacks>
	<defenses armor="3" defense="15"/>
		<defense name="healing" interval="1000" chance="90" min="7000000" max="8000000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="0"/>
		<immunity fire="0"/>
		<immunity poison="1"/>
		<immunity lifedrain="0"/>
		<immunity paralyze="0"/>
		<immunity outfit="0"/>
		<immunity drunk="0"/>
		<immunity invisible="0"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Grak brrretz!"/>
		<voice sentence="Grow truk grrrrr."/>
		<voice sentence="Prek tars, dekklep zurk."/>
	</voices>
	<loot capacity="400">
		<item id="3983" countmax="1" chance="100"/>
		<item id="2172" countmax="1" chance="100"/>
		<item id="2148" countmax="10" chance="80000"/>
		<item id="2467" countmax="1" chance="10000"/>
		<item id="2545" countmax="3" chance="5000"/>
		<item id="2411" countmax="1" chance="1500"/>
		<item id="2229" countmax="2" chance="1000"/>
		<item id="2410" countmax="2" chance="8000"/>
		<item id="2050" countmax="1" chance="5500"/>
		<item id="3967" countmax="1" chance="500"/>
	</loot>
</monster>

and in Monsters.xml
PHP:
	<monster name="Trainer" file="trainer.xml"/>

can someone tell me whats wrong with it? I use TFS v0.2.. as 8.31. I made a exp monster and it works perfectly.
 
And if you would like to know why is that:
You are already closing <attack> tag with the slash ("/"), therefore you dont need to close it again with </attack>
Code:
		<attack name="melee" interval="2000" skill="1" attack="2"[COLOR="Red"]/[/COLOR]>
		</attack>
 
Back
Top