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

XML plx

Ghaz

PHP:
<monster name="Ghazbaran" nameDescription="Ghazbaran" race="UNDEAD" experience="15000" speed="400" manacost="0">
  <health now="60000" max="60000"/>
  <look type="12" head="0" body="123" legs="97" feet="94" corpse="6068"/>
  <targetchange interval="10000" chance="20"/>
  <strategy attack="100" defense="0"/>
  <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 staticattack="98"/>
    <flag targetdistance="1"/>
    <flag runonhealth="3500"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-500" max="-2191"/>
	<attack name="melee" interval="2000" chance="40" range="7" radius="6" target="0" min="-250" max="-500">
	  <attribute key="areaEffect" value="blackspark"/>
    </attack>
    <attack name="melee" interval="3000" chance="34" range="7" radius="1" target="1" min="-120" max="-500">
      <attribute key="shootEffect" value="whirlwindsword"/>
      <attribute key="areaEffect" value="redspark"/>
    </attack>
    <attack name="energy" interval="4000" chance="30" length="8" spread="0" min="-100" max="-800">
      <attribute key="areaEffect" value="mortarea"/>
    </attack>
    <attack name="physical" interval="3000" chance="20" range="14" radius="5" target="0" min="-200" max="-480">
	  <attribute key="areaEffect" value="poff"/>
    </attack>
    <attack name="physical" interval="4000" chance="15" range="7" radius="13" target="0" min="-100" max="-650">
	  <attribute key="areaEffect" value="yellowspark"/>
    </attack>
    <attack name="physical" interval="4000" chance="18" radius="14" target="0" min="-200" max="-600">
	  <attribute key="areaEffect" value="bluebubble"/>
    </attack>
    <attack name="melee" interval="3000" chance="15" range="7" radius="4" target="0" min="-200" max="-750">
	  <attribute key="areaEffect" value="energyarea"/>
    </attack>
  </attacks>
  <defenses armor="55" defense="65">
    <defense name="healing" interval="3000" chance="35" min="300" max="800">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
    <defense name="speed" interval="4000" chance="80" speedchange="440" duration="6000">
      <attribute key="areaEffect" value="redshimmer"/>
    </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="3">
    <summon name="deathslicer" interval="4000" chance="20"/>
  </summons>
  <voices interval="5000" chance="30">
    <voice sentence="COME HERE AND DIE!"/>
    <voice sentence="COME AND GIVE ME SOME AMUSEMENT!" yell="1"/>
    <voice sentence="IS THAT THE BEST YOU HAVE TO OFFER, TIBIANS?" yell="1"/>
    <voice sentence="I AM GHAZBARAN OF THE TRIANGLE... AND I AM HERE TO CHALLENGE YOU ALL!" yell="1"/>
    <voice sentence="FLAWLESS VICTORY!"/>
  </voices>
  <loot>
	<item id="2160" chance="100000" countmax="12"/>
	<item id="2514" chance="18000"/>
	<item id="6300" chance="12000"/>
	<item id="5943" chance="7000"/>
	<item id="2003" chance="100000">
	  <inside>
		<item id="7431" chance="6000"/>
		<item id="2393" chance="60000"/>
		<item id="2195" chance="14033"/>
	  </inside>
	</item>
  </loot>
</monster>



Morgaroth:

PHP:
<monster name="Morgaroth" nameDescription="Morgaroth" race="UNDEAD" experience="15000" speed="400" manacost="0">
  <health now="55000" max="55000"/>
  <look type="12" head="0" body="94" legs="79" feet="79" corpse="6068"/>
  <targetchange interval="10000" chance="20"/>
  <strategy attack="100" defense="0"/>
  <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 staticattack="98"/>
    <flag targetdistance="1"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-700" max="-2000"/>
    <attack name="fire" interval="3000" chance="35" range="7" radius="7" target="1" min="-700" max="-1200">
		<attribute key="shootEffect" value="fire"/>
		<attribute key="areaEffect" value="firearea"/>
    </attack>
	<attack name="melee" interval="1800" chance="40" range="7" radius="5" target="0" min="-250" max="-400">
		<attribute key="areaEffect" value="blackspark"/>
	</attack>
    <attack name="energy" interval="3000" chance="30" length="8" spread="0" min="-300" max="-1000">
		<attribute key="areaEffect" value="energy"/>
    </attack>
    <attack name="physical" interval="2500" chance="20" range="7" radius="5" target="0" min="-200" max="-480">
        <attribute key="areaEffect" value="greenshimmer"/>
    </attack>
    <attack name="physical" interval="2000" chance="15" range="7" radius="13" target="0" min="-250" max="-500">
        <attribute key="areaEffect" value="rednote"/>
    </attack>
    <attack name="physical" interval="2000" chance="20" radius="14" target="0" min="-200" max="-450">
        <attribute key="areaEffect" value="bluebubble"/>
    </attack>
	<attack name="melee" interval="3000" chance="15" range="7" radius="3" target="0" min="-100" max="-200">
		<attribute key="areaEffect" value="blueshimmer"/>
	</attack>
  </attacks>
  <defenses armor="55" defense="65">
    <defense name="healing" interval="3000" chance="35" min="300" max="800">
		<attribute key="areaEffect" value="blueshimmer"/>
    </defense>
    <defense name="speed" interval="4000" chance="80" speedchange="440" duration="6000">
		<attribute key="areaEffect" value="redshimmer"/>
    </defense>
  </defenses>
  <elements>
	<element firePercent="100"/>
	<element earthPercent="100"/>
	<element energyPercent="100"/>
	<element deathPercent="60"/>
	<element physicalPercent="40"/>
	<element icePercent="-25"/>
  </elements>
  <immunities>
    <immunity paralyze="1"/>
    <immunity invisible="1"/>
  </immunities>
  <summons maxSummons="6">
    <summon name="demon" interval="4000" chance="33"/>
  </summons>
  <voices interval="5000" chance="30">
    <voice sentence="I AM MORGAROTH, LORD OF THE TRIANGLE... AND YOU ARE LOST!" yell="1"/>
    <voice sentence="MY SEED IS FEAR AND MY HARVEST ARE YOUR SOULS!" yell="1"/>
    <voice sentence="THE TRIANGLE OF TERROR WILL RISE!" yell="1"/>
    <voice sentence="ZATHROTH! LOOK AT THE DESTRUCTION I AM CAUSING IN YOUR NAME!" yell="1"/>
  </voices>
  <loot>
	<item id="2148" chance="100000" countmax="100"/>
	<item id="2148" chance="50000" countmax="90"/>
	<item id="2143" chance="10000" countmax="5"/>
	<item id="2396" chance="19429"/>
	<item id="2462" chance="20000"/>
	<item id="2214" chance="16000"/>
	<item id="2003" chance="100000">
		<inside>
			<item id="2495" chance="6000"/>
			<item id="2387" chance="20000"/>
			<item id="2393" chance="60000"/>
			<item id="2195" chance="16033"/>
			<item id="2421" chance="7000"/>
			<item id="2522" chance="5600"/>
			<item id="2192" chance="24000"/>
		</inside>
	</item>
  </loot>
</monster>

;)
 
This is my morgaroth, change the loot rates if you want :P Hope it will work (it works for me - tfs 0.3.1)

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Morgaroth" nameDescription="Morgaroth" race="fire" experience="15000" speed="400" manacost="0">
  <health now="55500" max="55500"/>
  <look type="12" head="0" body="94" legs="79" feet="79" corpse="6068"/>
  <targetchange interval="10000" chance="5"/>
  <strategy attack="100" defense="0"/>
  <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 staticattack="85"/>
    <flag targetdistance="1"/>
    <flag runonhealth="0"/>
  </flags>
<attacks>
    <attack name="melee" interval="2000" skill="220" attack="210"/>
    <attack name="fire" interval="1000" chance="13" range="7" radius="8" target="1" min="0" max="-1200">
		<attribute key="shootEffect" value="fire"/>
		<attribute key="areaEffect" value="firearea"/>
	</attack>
    <attack name="lifedrain" interval="3000" chance="18" radius="8" target="0" min="-120" max="-800">
		<attribute key="areaEffect" value="rednote"/>
	</attack>
    <attack name="death" interval="3000" chance="15" radius="8" target="0" min="-500" max="-800">
		<attribute key="areaEffect" value="mortarea"/>
	</attack>
	<attack name="death" interval="2000" chance="16" length="8" spread="0" min="-600" max="-1400">
		<attribute key="areaEffect" value="mortarea"/>
	</attack>
    <attack name="speed" interval="3000" chance="25" target="1" speedchange="-800" duration="4000">
		<attribute key="areaEffect" value="redshimmer"/>
	</attack>
</attacks>
<defenses armor="70" defense="70">
    <defense name="healing" interval="1000" chance="18" min="300" max="700">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>
	<elements>
		<element physicalPercent="20"/>
		<element icePercent="-20"/>
		<element deathPercent="35"/>
	</elements>
  <immunities>
    <immunity energy="1"/>
    <immunity fire="1"/>
    <immunity poison="1"/>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity invisible="1"/>
  </immunities>
  <summons maxSummons="6">
    <summon name="demon" interval="2500" chance="25"/>
  </summons>
  <voices interval="5000" chance="10">
    <voice sentence="MY SEED IS FEAR AND MY HARVEST ARE YOUR SOULS" yell="1"/>
    <voice sentence="The triangle of terror will rise!"/>
    <voice sentence="Zathroth look at the destruction i am causing in your name!"/>
	<voice sentence="I AM MORGAROTH, LORD OF THE TRIANGLE... AND YOU ARE LOST!" yell="1"/>
  </voices>
	<loot>
		<item id="2148" chance="100000" countmax="100" /> -- gold coin
		<item id="2148" chance="50000" countmax="90" /> -- gold coin
		<item id="2143" chance="5000" countmax="5" /> -- white pearl
		<item id="2144" chance="4500" countmax="13"/> -- Black Pearl
		<item id="2149" chance="5500" countmax="4" /> -- small emerald
		<item id="2186" chance="1538" /> -- moonlight rod
		<item id="2396" chance="1429" /> -- ice rapier
		<item id="2462" chance="4700" /> -- devil helmet
		<item id="2214" chance="4000" /> -- ring of healing
		<item id="1987" chance="100000" > -- bag
			<inside>
				<item id="2387" chance="10000" /> -- double axe
				<item id="7431" chance="7900" /> -- Demonbone
				<item if="2514" chance="9000" /> -- Mastermind Shield
				<item id="5943" chance="3400"/> -- Morgaroth Hearth
				<item id="2393" chance="12000" /> -- giant sword
				<item id="2195" chance="10333" /> -- boots of haste
				<item id="2421" chance="7509" /> -- thunder hammer
			</inside>
		</item>
	</loot>
</monster>

Also add this to yours monsters.xml

Code:
	<monster name="Morgaroth" file="Demon bosses/morgaroth.xml"/>
-- Change the file path if you dont got your script in Demon bosses folder.
 
Back
Top