In my ots people said the paladins heal was to weak and a lvl 30 with ml 31 healed almost the same as a lvl 200 paladin. The healing is about 700~
This is my script for divine healing. How to fix that because i dont have any experience to script spells.
This is my script for divine healing. How to fix that because i dont have any experience to script spells.
PHP:
--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_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
function getCombatFormulas(cid, lv, maglv)
local formula_min = ((lv*0.4 + maglv*3) * 4.1)
local formula_max = ((lv*0.4 + maglv*3) * 4.6)
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