local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, [COLOR="Red"]-1.4[/COLOR], [COLOR="red"]-30[/COLOR], [COLOR="red"]-1.8[/COLOR], 0)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
#up
You're annoying, do you really think he's that stupid?
If you're just trying to help, you're doing it wrong.