Hey guys,
I want to know how to change my UH script, to heal the same in all vocations, like 1300 HP.. or by life percentual!
I want to know how to change my UH script, to heal the same in all vocations, like 1300 HP.. or by life percentual!
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)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 8, 8, 12, 14)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end