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

Um... Really weird trap issue.

The Unforgiven

New Member
Joined
Dec 9, 2008
Messages
73
Reaction score
0
Code:
<?xml version="1.0"?>
<monster name="magicthrower" nameDescription="a magicthrower" race="Undead">
  <health now="9950" max="9950"/>
  <look typeex="1560" corpse="0"/>
  <strategy attack="100"/>
  <targetchange chance="20"/>
  <flags>
    <flag canpushcreatures="1"/>
    <flag hostile="1"/>
    <flag attackable="1"/>
    <flag pushable="0"/>
    <flag staticattack="90"/>
    <flag targetdistance="4"/>
    <flag runonhealth="100"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" chance="100" skill="1" attack="1" range="1"/>
    <attack name="poison" interval="1000" chance="100" min="-50" max="-100" range="7">
      <attribute key="areaEffect" value="yellowspark"/>
      <attribute key="shootEffect" value="energy"/>
    </attack>
  </attacks>
  <defenses defense="1" armor="1"/>
  <immunities>
    <immunity name="earth"/>
    <immunity name="energy"/>
    <immunity name="death"/>
    <immunity name="physical"/>
    <immunity name="lifedrain"/>
    <immunity name="outfit"/>
    <immunity name="ice"/>
    <immunity name="fire"/>
    <immunity name="holy"/>
    <immunity name="paralyze"/>
    <immunity name="invisible"/>
    <immunity name="drown"/>
    <immunity name="drunk"/>
  </immunities>
  <loot/>
</monster>

For some odd reason, the Magicthrower moves... and so does the Shedderthrower, and probably the other throwing pillars. What's wrong with the code? D:
 
Hm, just wondering. If I removed 'speed="0"' from monster file, it will threat this value as nil. Right? And when one of values is nil so it must threat is as 0 ._.
 
Hm, just wondering. If I removed 'speed="0"' from monster file, it will threat this value as nil. Right? And when one of values is nil so it must threat is as 0 ._.

I would think so, but it seemed to go by the target distance at that point. So, it moved to 4 tiles away from me. Weird indeed. xD
 
Back
Top