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

i need a working manarune

Pro Eep

Mapper&scripter
Joined
Mar 24, 2012
Messages
84
Reaction score
3
Location
Finland
i need a working manarune

its changes healing (by lvl)
and it show how much heals (PURPLE TEXT)

rep to him who helps
 
i need a working manarune

its changes healing (by lvl)
and it show how much heals (PURPLE TEXT)

rep to him who helps

You can use this one, made by Cykotitan. Works great!

Lua:
local runes = {
	[2295] = {
		min = 'level * 1.3 + maglv * 5',
		max = 'level * 1.3 + maglv * 6'
	}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
	if isPlayer(itemEx.uid) then
		level, maglv, i = getPlayerLevel(cid), getPlayerMagLevel(cid), runes[item.itemid]
		doPlayerAddMana(itemEx.uid, math.random(loadstring('return '..i.min)(), loadstring('return '..i.max)()))
		level, maglv, i = nil, nil, nil
		doSendMagicEffect(toPosition, CONST_ME_MAGIC_RED)
		doCreatureSay(itemEx.uid, 'Aaah...', TALKTYPE_ORANGE_1)
		if math.random(100) == 1 then
		end
	else
		doPlayerSendCancel(cid, 'You can only use this rune on players.')
	end
	return true
end

*[2295] = Rune ID
*min = 'level * 1.3 + maglv * 5', / You can edit those lines to change healing.
*max = 'level * 1.3 + maglv * 6'
 
Back
Top