Dragon_Lancer
07-22-2008, 11:58 PM
function Trig_spell_Conditions takes nothing returns boolean
if ( not ( GetSpellAbilityId() == 'ANsb' ) ) then
return false
endif
return true
endfunction
I need help. it says that on the first line says i need a initilization in it (function --> InitTrig_spell_Condition takes nothing returns nothing) I want it so it only works when a unit casts an ability. (if confusing please say so)
if ( not ( GetSpellAbilityId() == 'ANsb' ) ) then
return false
endif
return true
endfunction
I need help. it says that on the first line says i need a initilization in it (function --> InitTrig_spell_Condition takes nothing returns nothing) I want it so it only works when a unit casts an ability. (if confusing please say so)