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

Need an Better Ultimate Healing rune

xerentis

New Member
Joined
Jul 27, 2008
Messages
23
Reaction score
0
Hello guys i need an new Ultimate Healing rune like "Big uh"
and the rune must add 700hp but i have no idea wich script i have to use :( pleasse i need help :p

Iam using TFS!
 
Just copy your UH script that you got now, then change its namme to big uh, then edit the amount of hp gain and make a new line in your actions.xml file
 
thats my uh :

--Calculed by ta4e--
--For tibia 8.22--
--Made in 12/09/08--
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function getCombatFormulas(cid, lv, maglv)
local formula_min = ((lv*0.25 + maglv*3) * 3.8)
local formula_max = ((lv*0.25 + maglv*3) * 4.2)

if(formula_max < formula_min) then
local tmp = formula_max
formula_max = formula_min
formula_min = tmp
end
return formula_min, formula_max
end


setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas")


function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end

but there is no amount in ..:O
 
--Calculed by ta4e--
--For tibia 8.22--
--Made in 12/09/08--
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)

function getCombatFormulas(cid, lv, maglv)
local formula_min = ((lv*0.25 + maglv*3) * 3.8)
local formula_max = ((lv*0.25 + maglv*3) * 4.2)


if(formula_max < formula_min) then
local tmp = formula_max
formula_max = formula_min
formula_min = tmp
end
return formula_min, formula_max
end


setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas")


function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
change that
Higher = more hp
 
As Chipsen wrote. The red text is the "amount script" . change the last numbers, that means the green numbers in my code below:

Code:
local formula_min = ((lv*0.25 + maglv*3) * [COLOR="SeaGreen"]3.8[/COLOR])
local formula_max = ((lv*0.25 + maglv*3) * [COLOR="SeaGreen"]4.2[/COLOR])
 
Back
Top