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

Monster Cast

Lbtg

Intermediate OT User
Joined
Nov 22, 2008
Messages
2,332
Reaction score
141
1. Question how to make that Mnster makes player Spell ? etc exevo gran vis lux.

2. How I Make Huge Area bomb ? i want to make that monster cast Firearea spell but 2 or 3x bigger when hell core , posible to make it ?
 
1. Put the "exevo gran vis lux" at the spell name in monster file.
2. data/spells/lib/spells.lua, define other area and use it at spell.
 
where you see spell name:

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="fire" interval="1500" chance="50" range="22" radius="22" target="0" min="-2000" max="-3150">
		<attribute key="shootEffect" value="fire"/>
		<attribute key="areaEffect" value="firearea"/>
	</attack>
    <defenses armor="0" defense="0">
      <defense name="healing" interval="10000" chance="100" min="100000" max="100000"/>
    </defenses>
    <immunities>
      <immunity invisible="1"/>
    </immunities>
  </monster>

i didint understand how to make that he use Massive hell core

can you remake it ?
 
Look in the monster name xml file and you'll find something like this:

<attack name="melee" interval="2000" skill="22" attack="42"/>

Simply copy and paste and customize the radius and min and max damage, etc.
i.e. I've renamed the spell words for rage of the skies to 'thunderstorm', so I entered "thunderstorm" and it makes the monster do an energyball attack on me.
<attack name="thunderstorm" interval="1000" chance="50" range="7" radius="7" target="1" min="-110" max="-200"/>
 
<attack name="thunderstorms" script="attack/rage of the skies.lua" interval="3000" range="8" radius="8" target="1" min="-500" max="-1500"/>

That will make it use rage of skies spell. Simply switch for hell's core. easy.
 
Back
Top