• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Some spells request

wafuboe

Active Member
Joined
Dec 24, 2010
Messages
884
Solutions
2
Reaction score
26
Well i need some spells, hope someone could give me a hand hehe.

1) Invulnerable Spell
Easy, it is a spell that will make you invulnerable for 1 minute you take no damage.

2) Throw an arrow in a long vertical direction, it impacts on the first target hitted on the trayectory.

3) A spell that summons only one monster, a demon for example

4) a spell that heals your summons

5) a rune that gives all blessings.
 
3) you can set that in config lua
4) "exura gran mas res" heals summons aswell
5) actions/scripts -- Any advanced scripter please fix the tabbing, im doing a terrible work with making this look at least tiny bit good
LUA:
local config = {
    level = 20,
    bless = {1, 2, 3, 4, 5}
}


function onUse(player, item, fromPosition, target, toPosition, isHotkey)
        for i = 1, #config.bless do
            if player:hasBlessing(config.bless[i]) then
                player:sendTextMessage(MESSAGE_INFO_DESCR, "You already have all blessings.")
                return false
            end
        end
      
            if player:getLevel() >= config.level then
                for i = 1, #config.bless do
                    player:addBlessing(config.bless[i])
                end
              
                item:remove(1)
                player:sendTextMessage(MESSAGE_INFO_DESCR, "You have received all blessings.")
            else
                player:sendTextMessage(MESSAGE_INFO_DESCR, "You need to be at least level "..config.level.." to use this rune")
                player:getPosition()sendMagicEffect(CONST_ME_POFF)
            end

            return true
end

actions.xml

Code:
<action itemid="XXXX" script="XXXXX.lua" />
 
Back
Top