• 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 have fast atack

Elexonic

Well-Known Member
Joined
Jun 18, 2008
Messages
1,920
Reaction score
59
My monster--
webster


Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Webster" nameDescription="a webster" race="undead" experience="1200" speed="290" manacost="0">
	<health now="1750" max="1750"/>
	<look type="263" corpse="7349"/>
	<!--<targetchange/>-->
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag staticattack="78"/>
		<flag lightlevel="0"/>
		<flag lightcolor="0"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="-103" max="-210"/>
		<attack name="speed" interval="3500" chance="65" radius="1" target="1" range="1" duration="40" speedchange="-500">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="energy" interval="3000" chance="75" min="-13" max="-80" range="7">
			<attribute key="shootEffect" value="energy"/>
		</attack>
	</attacks>
	<defenses armor="29" defense="34">
		<defense name="speed" interval="5000" chance="100" duration="2500" speedchange="500">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element icePercent="100"/>
		<element energyPercent="-13"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="2000" chance="5">
		<voice sentence="You are lost!"/>
		<voice sentence="Come my little morsel."/>
	</voices>
</monster>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Webster" nameDescription="a webster" race="undead" experience="1200" speed="290" manacost="0">
	<health now="1750" max="1750"/>
	<look type="263" corpse="7349"/>
	<!--<targetchange/>-->
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag staticattack="78"/>
		<flag lightlevel="0"/>
		<flag lightcolor="0"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="-103" max="-210"/>
		<attack name="speed" interval="8000" chance="50" radius="1" target="1" range="1" duration="40" speedchange="-500">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="energy" interval="8000" chance="50" min="-13" max="-80" range="7">
			<attribute key="shootEffect" value="energy"/>
		</attack>
	</attacks>
	<defenses armor="29" defense="34">
		<defense name="speed" interval="8000" chance="50" duration="2500" speedchange="500">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element icePercent="100"/>
		<element energyPercent="-13"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="2000" chance="5">
		<voice sentence="You are lost!"/>
		<voice sentence="Come my little morsel."/>
	</voices>
</monster>

As Hanoger said,
Code:
interval 2000
= 2 seconds
Code:
chance="50"
= 50% hit chance
 
I have all intervalls in 2 seg min i think.. :S

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Webster" nameDescription="a webster" race="undead" experience="1200" speed="290" manacost="0">
<health now="1750" max="1750"/>
<look type="263" corpse="7349"/>
<!--<targetchange/>-->
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag staticattack="78"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-103" max="-210"/>
<attack name="speed" interval="3500" chance="65" radius="1" target="1" range="1" duration="40" speedchange="-500">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
<attack name="energy" interval="3000" chance="75" min="-13" max="-80" range="7">
<attribute key="shootEffect" value="energy"/>
</attack>
</attacks>
<defenses armor="29" defense="34">
<defense name="speed" interval="5000" chance="100" duration="2500" speedchange="500">
<attribute key="areaEffect" value="redshimmer"/>
</defense>
</defenses>
<elements>
<element icePercent="100"/>
<element energyPercent="-13"/>
</elements>
<immunities>
<immunity invisible="1"/>
</immunities>
<voices interval="2000" chance="5">
<voice sentence="You are lost!"/>
<voice sentence="Come my little morsel."/>
</voices>
</monster>
 
Deskpalm-facedesk.gif


just use this code srsly
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Webster" nameDescription="a webster" race="undead" experience="1200" speed="290" manacost="0">
	<health now="1750" max="1750"/>
	<look type="263" corpse="7349"/>
	<!--<targetchange/>-->
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag staticattack="78"/>
		<flag lightlevel="0"/>
		<flag lightcolor="0"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="-103" max="-210"/>
		<attack name="speed" interval="8000" chance="50" radius="1" target="1" range="1" duration="40" speedchange="-500">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="energy" interval="8000" chance="50" min="-13" max="-80" range="7">
			<attribute key="shootEffect" value="energy"/>
		</attack>
	</attacks>
	<defenses armor="29" defense="34">
		<defense name="speed" interval="8000" chance="50" duration="2500" speedchange="500">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element icePercent="100"/>
		<element energyPercent="-13"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="2000" chance="5">
		<voice sentence="You are lost!"/>
		<voice sentence="Come my little morsel."/>
	</voices>
</monster>
 
nope.. le agrege 0 .. pero sigue sin funcionar.. el script .. esta bien desde el principio..
pero no se por que atacan tan deprisa..
 
Try, this:

XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Webster" nameDescription="a webster" race="undead" experience="1200" speed="290" manacost="0">
	<health now="1750" max="1750"/>
	<look type="263" corpse="7349"/>
	<targetchange interval="2000" chance="20"/>
	<strategy attack="100" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="1"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag staticattack="78"/>
		<flag lightlevel="0"/>
		<flag lightcolor="0"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="40" attack="100"/>
		<attack name="poisoncondition" interval="2000" chance="40" radius="1" target="1" range="7" poison="120">
			<attribute key="shootEffect" value="energy"/>
			<attribute key="areaEffect" value="energyarea"/>
		</attack>
		<attack name="physical" interval="2000" chance="40" radius="1" target="1" range="7" min="-0" max="-60">
			<attribute key="shootEffect" value="poison"/>
			<attribute key="areaEffect" value="poison"/>
		</attack>
		<attack name="speed" interval="3500" chance="20" radius="4" target="1" range="7" duration="20000" speedchange="-360">
			<attribute key="areaEffect" value="poff"/>
		</attack>
	</attacks>
	<defenses armor="29" defense="34">
		<defense name="speed" interval="5000" chance="100" duration="2500" speedchange="500">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element earthPercent="20"/>
		<element holyPercent="10"/>
		<element deathPercent="10"/>
		<element energyPercent="-10"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
		<immunity fire="1"/>
		<immunity ice="1"/>
	</immunities>
	<voices interval="2000" chance="5">
		<voice sentence="You are lost!"/>
		<voice sentence="Come my little morsel."/>
	</voices>
</monster>
 
Mmm, rare! OK, try this:

XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Webster" nameDescription="a webster" race="blood" experience="6000" speed="268" manacost="0">
    <health now="7500" max="7500"/>
    <look type="309" head="20" body="30" legs="40" feet="50" corpse="6080"/>
    <targetchange interval="5000" chance="8"/>
    <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 targetdistance="1"/>
        <flag staticattack="90"/>
        <flag runonhealth="0"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" min="-0" max="-900"/>
        <attack name="manadrain" interval="2000" chance="10" range="7" min="-0" max="-2000">
            <attribute key="shootEffect" value="energy"/>
            <attribute key="areaEffect" value="poff"/>
        </attack>
          <attack name="manadrain" interval="2000" chance="15" range="7" radius="7" target="1" min="-0" max="-800">
            <attribute key="shootEffect" value="fire"/>
            <attribute key="areaEffect" value="bigclouds"/>
        </attack>
        <attack name="death" interval="2000" chance="20" range="7" min="-0" max="-524">
                  <attribute key="shootEffect" value="suddendeath"/>
                <attribute key="areaEffect" value="mortarea"/>
          </attack>
        <attack name="lifedrain" interval="1000" chance="10" length="8" spread="0" min="-100" max="-500">
            <attribute key="areaEffect" value="sleep"/>
        </attack>
    </attacks>
    <defenses armor="30" defense="20">
        <defense name="healing" interval="1000" chance="15" min="150" max="500">
            <attribute key="areaEffect" value="blueshimmer"/>
        </defense>
    </defenses>
    <elements>
        <element energyPercent="-1"/>       
        <element physicalPercent="1"/>
        <element deathPercent="-1"/>
    </elements>
    <immunities>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
  <voices interval="5000" chance="10">
    <voice sentence="The ultimate will finally consume this unworthy existence!" yell="1"/>
    <voice sentence="My masters and I will tear down barriers and join the ultimate in its realm!" yell="1"/>
    <voice sentence="The power of the Yalahari will all be mine!" yell="1"/>
    <voice sentence="We will open the rift for a new time to come!"/>
    <voice sentence="He who has returned from beyond has taught me secrets you can't even grasp!"/>
    <voice sentence="The end of times has come!"/>
    <voice sentence="The great machinator will make his entrance soon!"/>
    <voice sentence="You might scratch my shields but they will never break!"/>
    <voice sentence="You can't hope to penetrate my shields!"/>
    <voice sentence="Do you really think you could beat me?"/>
  </voices>
    <loot>
    </loot>
</monster>
 
Back
Top