The spell doesn't work. I'm trying to achieve a working area spell. I have changed it up to this now:
function onCastSpell(cid, var)
local lvl = getPlayerLevel(cid)
local dmgMax = ((lvl * 5))
local dmgMin = ((dmgMax*0.90))
local areaa = createCombatArea{
{1, 1, 1},
{1, 3, 1}
}
ret =...