Hi, this is my exori, I was wondering if could add a min damage, for example, if exori would hit less than 200, that it always be 200, like the UH, if it is going to heal less than 250, it heal 250.
Any idea?
Any idea?
PHP:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0.6, 0, 1.2, 0)
local area = createCombatArea(AREA_SQUARE1X1)
setCombatArea(combat, area)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end