local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 18)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -8.10, -280, -8.40, -280)
function onCastSpell(cid, var)
local pos = getThingPos(cid)
local posy = {x = pos.x, y = pos.y - 1, z = pos.z}
local posy2 = {x = pos.x, y = pos.y + 1, z = pos.z}
local posx = {x = pos.x - 1, y = pos.y, z = pos.z}
doSendDistanceShoot(posy, getThingPos(getCreatureTarget(cid)), 18)
doSendDistanceShoot(posy2, getThingPos(getCreatureTarget(cid)), 18)
doSendDistanceShoot(posx, getThingPos(getCreatureTarget(cid)), 18)
return doCombat(cid, combat, var)
end