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

Lua Monster.

WibbenZ

Global Moderator
Staff member
Global Moderator
Joined
Oct 16, 2008
Messages
6,374
Solutions
229
Reaction score
1,503
Location
Sweden
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Mowgli" nameDescription="a mowgli" race="blood" experience="620000" speed="800" manacost="0">
  <health now="50000" max="50000"/>
<look type="146" head="96" body="115" legs="76" feet="0" addons="3" corpse="6080"/>	
  <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="0"/>
    <flag targetdistance="1"/>
    <flag staticattack="90"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-200" max="-350"/>
    <attack name="fire" interval="1000" chance="50" range="7" min="-4000" max="-4100">
      <attribute key="shootEffect" value="fire"/>
    </attack>
    <attack name="energy" interval="2000" chance="39" range="7" min="-3890" max="-4670">
      <attribute key="shootEffect" value="energy"/>
    </attack>
    <attack name="lifedrain" interval="3000" chance="20" range="7" min="-350" max="-5800">
      <attribute key="shootEffect" value="suddendeath"/>
    </attack>
    <attack name="speed" interval="1000" chance="30" range="7" speedchange="-1180" duration="15000">
      <attribute key="areaEffect" value="redshimmer"/>
    </attack>
    <attack name="drunk" interval="1000" chance="20" range="7">
      <attribute key="shootEffect" value="energy"/>
      <attribute key="areaEffect" value="energyarea"/>
    </attack>
    <attack name="outfit" interval="1000" chance="17" range="7" monster="rabbit" duration="20000">
      <attribute key="areaEffect" value="blueshimmer"/>
    </attack>
    <attack name="energycondition" interval="2000" chance="34" radius="3" target="0" min="-2800" max="-3300">
      <attribute key="areaEffect" value="energy"/>
    </attack>
  </attacks>
  <defenses armor="22" defense="15">
    <defense name="healing" interval="1000" chance="15" min="2000" max="4000">
      <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="crazy Geek" interval="1000" chance="60" max="1"/>
	    <summon name="occultist" interval="1000" chance="60" max="1"/>
  </summons>
  <voices interval="5000" chance="10">
    <voice sentence="Feel the power of my magic, humans!"/>
    <voice sentence="Be careful what you wish for."/>
    <voice sentence="Wishes can come true."/>
  </voices>
  <loot>
    <item id="2160" countmax="60" chance1="100000" chancemax="0"/>
		    <item id="2160" countmax="100" chance1="100000" chancemax="0"/>
			<inside>
			    <item id="2160" countmax="4" chance1="100000" chancemax="0"/>
    </inside>
	</item>
  </loot>
</monster>

hey guys one more time ^.^

how can I fixx this script soo it workes? Its a event monster and need it tonight :S. Please rep++ :).
 
when I do /m Mowgli it dosent happen any.. And I tryd with another monster

/m Demon and it worked.
 
What error do you got in console?

look:
Code:
[27/04/2010 18:44:35] >> Loading monsters
[27/04/2010 18:44:36] >> Loading outfits
thats the exe.

when I use the script it just say Sorry not possible.
none in exe.
 
do you're trying to use the command to summon monster in area with FIRE on the ground, or something else?
you can't cuz he isn't immune, etc
 
no a normal place only normal ground none pz or stuffs. It worked with demon..
 
It really doesn't give any error anywhere in the serverconsole? Nothing like Could not load mowgli.xml or something like that?
Can you post a screenshot please? :p Might help me to look better. xD
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Mowgli" nameDescription="a mowgli" race="blood" experience="620000" speed="800" manacost="0">
	<health now="50000" max="50000"/>
	<look type="146" head="96" body="115" legs="76" feet="0" addons="3" corpse="6080"/>    
	<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="0"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="-200" max="-350"/>
		<attack name="fire" interval="1000" chance="50" range="7" min="-4000" max="-4100">
			<attribute key="shootEffect" value="fire"/>
		</attack>
		<attack name="energy" interval="2000" chance="39" range="7" min="-3890" max="-4670">
			<attribute key="shootEffect" value="energy"/>
		</attack>
		<attack name="lifedrain" interval="3000" chance="20" range="7" min="-350" max="-5800">
			<attribute key="shootEffect" value="suddendeath"/>
		</attack>
		<attack name="speed" interval="1000" chance="30" range="7" speedchange="-1180" duration="15000">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="drunk" interval="1000" chance="20" range="7">
			<attribute key="shootEffect" value="energy"/>
			<attribute key="areaEffect" value="energyarea"/>
		</attack>
		<attack name="outfit" interval="1000" chance="17" range="7" monster="rabbit" duration="20000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</attack>
		<attack name="energycondition" interval="2000" chance="34" radius="3" target="0" min="-2800" max="-3300">
			<attribute key="areaEffect" value="energy"/>
		</attack>
	</attacks>
	<defenses armor="22" defense="15">
		<defense name="healing" interval="1000" chance="15" min="2000" max="4000">
			<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="crazy Geek" interval="1000" chance="60" max="1"/>
		<summon name="occultist" interval="1000" chance="60" max="1"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Feel the power of my magic, humans!"/>
		<voice sentence="Be careful what you wish for."/>
		<voice sentence="Wishes can come true."/>
	</voices>
	<loot>
		<item id="2160" countmax="60" chance1="100000"/>
		<item id="2160" countmax="100" chance1="100000"/>
		<item id="2160" countmax="4" chance1="100000"/>
	</loot>
</monster>
 
Back
Top