A respeito das uh eu fiz o seguinte:
script
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 onGetFormulaValues(cid, level, maglevel)
min = (level * 1 + maglevel * 4) * 2.08
max = (level * 1 + maglevel * 4) * 2.7
if min < 250 then
min = 250
end
return min, max
end
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
eu so mudei o numero multiplicado
function onGetFormulaValues(cid, level, maglevel)
min = (level * 4 + maglevel * 4) * 2.08
max = (level * 4 + maglevel * 4) * 2.7
parece ter ficado bom, mas coloque o numero desejado.
espero ter ajudado.