ur code...even i add endlibrary it still comes with errors
library HellFire
globals
private integer DUMMY_ID = 'h000'
private integer DUMMY_SPELL_ID = 'AHtc'
private string ORDER_ID = "thunderclap" //better to use integer
endglobals
function Hellfire_Actions takes unit u, player p returns nothing
local real x = GetUnitX(u)
local real y = GetUnitY(u)
local real f = GetUnitFacing(u)
//-------------------------------
local real xx
local real yy
local integer i = 1
local unit d
loop
exitwhen i > 15
set xx = x + (50 * i) * Cos(f * bj_DEGTORAD)
set yy = y + (50 * i) * Sin(f * bj_DEGTORAD)
set d = CreateUnit( p, DUMMY_ID, xx , yy , 0 )
call UnitAddAbility(d, DUMMY_SPELL_ID)
call UnitApplyTimedLife(d, 'BTLF', 1.50)
call IssueImmediateOrder(d, ORDER_ID)
set i = i + 1
endloop
set d = null
endfunction
endlibrary