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

Reqeust for a manarune!

Snakie

New Member
Joined
Apr 15, 2010
Messages
263
Reaction score
4
Im searching for a manarune that will always heal 5k and evrytime somebody use it, there should be a cool effect and th amount of how much mana you gain.
 
here is a very simple one :)

go to action --> scripts -->other --> make new manarune.lua
LUA:
local amount = 5000
function onUse(cid, item, frompos, item2, topos)
doPlayerAddMana(cid,amount)
doSendMagicEffect(getThingPos(cid),53)
doSendMagicEffect(getThingPos(cid),30)
doCreatureSay(cid,"+"..amount.."",19)
return true
end

go to action.xml past this line
Code:
<action itemid="2275" event="script" value="other/manarune.lua"/>

then get the item 2275 in game and use it .
 
Last edited:
Didnt work dosent manarunes belong in the spells file map? and if they dont what line in action xml should i paste it in others? or liquids
 
Code:
local combat = createCombatObject() 
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN) 
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) 
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) 

function onCastSpell(cid, var) 
doPlayerAddMana(cid, 550)  
return doCombat(cid, combat, var) 
end
 
Back
Top