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

Need Manarune!

mi help ya ok?
i made this in 1 minute plx no time

LUA:
function onUse(cid, item, frompos, item2, topos)


-- this script is made in 5 second, it isn't good:p just a good example [edits allowed]
local config =
{
itemId = 2296 -- the id of the rune (change it)
lvl = 8 -- player must be over lvl 8 to use this ( change if you want)
manaGain = 100 -- how much he should gain  (change if you want)
}
if item.itemid == config.itemId and getPlayerLevel(cid) >= config.lvl then
doPlayerAddMana(cid, config.manaGain)
doCreatureSay(cid, "Aaaah", TALKTYPE_ORANGE_1)
    else
doPlayerSendTextMessage(cid, 22, "You dont have enough level to use this rune")
      end
	  return TRUE
end

But i suggest you use a manarune with made in spell.
 
Last edited:
Back
Top