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

[Action] Request: Rune that heal 3/4 of player health

Luciano

Member
Joined
Feb 18, 2010
Messages
998
Reaction score
24
I need a rune that heal 3/4 of player health.
(ex: player have 200 health, each time use will heal 150)

Ty,
REP++,
Legendary Druid ~~~~~~
Inferno-ot
 
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var) and doCreatureAddHealth(variantToNumber(var), getCreatureMaxHealth(variantToNumber(var)) * 0.75)
end
 
Back
Top