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

manarune

feeniiix

New Member
Joined
Oct 31, 2013
Messages
114
Reaction score
4
i need manarune script and that i want the manarune want to givemana 1000 --> it will give u mana what lvl u are if u now what i mean


sry for my bad english


i need manarune
 
Not tested, but technically speaking it should work, though formula might be a little too high for higher level characters (+60).

Code:
function onCastSpell(cid, var)
   local level = getPlayerLevel(cid)
   local manaFormulaMin = level * 5
   local manaFormulaMax = level * 10
   doPlayerAddMana(cid, math.random(manaFormulaMin, manaFormulaMax))
   doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_BLUE))
   return true
end
 
Back
Top