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

Windows my trainers dont heal

Here are my training monks.

Try it out,

PHP:
<?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="1000" 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="1200" 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>
 
As the healing is part of the defenses attribute, they will only use it if there is a player on-screen or they are taking damage. If you are not attacking them and you are on a GM character just watching them they will not heal.
 
Back
Top