• 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 Smart Monster Spell (For Sorcerer Monster).

lokolokio

Well-Known Member
Joined
Jan 7, 2009
Messages
201
Solutions
13
Reaction score
77
Location
Mexico
I have made a 3 monster spells to make a sorcerer monster and have more fun. hope you like it.
(This monster have 3 options to be healed: exura, exura gran or exura vita, and get hasted, he will cast Hells Core if the Targets HP is below 30%, he soot SD and if target are far enough and the conidtions are the correct he will cast GEB, and if the attackers are 4 or more he will shoot Great Runes such Avalanches, GFB, Stoneshower Etc. Also use Great Mana Potion.)
Here is the link to download:
(Knight under constrution).
http://www.mediafire.com/download/7ow7w72s3h7iis9/smart_monster_spell.rar


Unzip the files and then copy the files to their respective folders, front.lua, attack.lua, heal.lua to data/spells/scripts/ and register them (in data/spells/spells.xml) and sorcerer to data/monster/ and register it (in data/monster/monsters.xml).

Hope you enjoy them and have fun, thats my reason to play Tibia and OT Servers.
Hail OT Land. :p

PD. Rename the monster file (Original file name Lokio.xml)
 
Last edited:
Thank you so much. This is really amazing, dude.

I'm playing a home server with my wife and son and this will be SO much fun.
 
Missing getDistanceBetween function in tfs 1.2
 
I think this function works as:

Lua:
fromPosition:getDistance(toPosition)
And work something like this:
Lua:
local fromPosition = creature:getPosition()
local toPosition = creature:getTarget():getPosition()
local dist = fromPosition:getDistance(toPosition)
if dist <= X then
    creature:doSemothing()
end
 
Back
Top