hello guys!
I need help!
how to make an heal friend custom?
i need this magic to heal 20% more hp of knights!
I need help!
how to make an heal friend custom?
i need this magic to heal 20% more hp of knights!
Lua:
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)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 10, 10, 20, 24)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end