JASS:
function DarkPower takes nothing returns nothing
local unit caster = GetSpellAbilityUnit()
local location castloc = GetUnitLoc(caster)
local location orderloc = GetSpellTargetLoc()
local string modelpath = "Abilities\\Spells\\Undead\\DarkSummoning\\DarkSummonMissile.mdl"
call DamagingProjectileLaunchAOELoc(caster, modelpath, 1000, 0, castloc, 10, orderloc, 10, 100, 1, false, 1)
endfunction
JassCrat don't find any syntax mistakes. But WE don't want to save this
Sorry for my English