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

Spirit Rune

Aklovo

Enjoy It
Joined
Dec 30, 2009
Messages
453
Reaction score
12
Location
México
I need another script, I want to make a rune wich heal mana/health like great spirit potion and infinite, can anyone help me?
 
Hey. Here , hope this helps you out ...
LUA:
-- Spirit Rune
-- Made by Shiva

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 28)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

function onCastSpell(cid, var)
local manaperlvl = 5 -- Heals 5 mana per level
local healthperlvl = 5 -- Heals 10 mana per level

	doPlayerAddMana(cid, getPlayerLevel(cid)*manaperlvl)
	doCreatureAddHealth(cid, getPlayerLevel(cid)*healthperlvl)
	return doCombat(cid, combat, var)
end

You can edit it if you want , its just simple 2-mins-work script.
If you need any more help with it, tell me.

rep++ ^^
 
Last edited:
Back
Top