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

Training monks attacks slow

power abuse

New Member
Joined
Jul 9, 2007
Messages
15
Reaction score
0
<attack name="melee" interval="2000" attack="1" skill="60"/>

whats wrong?

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
<health now="100000" max="100000"/>
<look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<targetchange interval="60000" chance="0"/>
<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 staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>

<attacks>
<attack name="melee" interval="2000" attack="1" skill="60"/>
</attacks>

<defenses armor="0" defense="0">
<defense name="healing" interval="10000" chance="100" min="100000" max="100000"/>
</defenses>

<immunities>
<immunity invisible="1"/>
</immunities>
</monster>
 
Change interval="2000" to interval="1000".

That will make the monk attack once per second(1000 milliseconds) instead of once per 2 seconds(2000 milliseconds).
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
<health now="100000" max="100000"/>
<look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
<targetchange interval="60000" chance="0"/>
<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 staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
−
<attacks>
<attack name="melee" interval="600" attack="1" skill="60"/>
</attacks>
−
<defenses armor="0" defense="0">
<defense name="healing" interval="10000" chance="100" min="100000" max="100000"/>
</defenses>
−
<immunities>
<immunity invisible="1"/>
</immunities>
</monster>
 
It can't be lower than 1000 because that's how often the server checks all active monsters for attacking.
 
Back
Top