I need fast help because my trigger is simple but i can't find the mistake
Tell me this line is wrong, full code below.
JASS:
function Cond takes nothing returns boolean
return GetSpellAbilityId() == 039;A001039;
endfunction
Tell me this line is wrong, full code below.
JASS:
function Cond takes nothing returns boolean
return GetSpellAbilityId() == 039;A001039;
endfunction
function Acts takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig_Miracle takes nothing returns nothing
set gg_trg_Miracle = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Miracle, EVENT_PLAYER_UNIT_SPELL_EFFECT )
call TriggerAddAction( gg_trg_Miracle, function Cond)
endfunction