For some reason my spells all of sudden don't function right anymore not even simple codes like
Idk what's wrong has this happen to anyone before?
JASS:
if udg_iteminteger == 1 then
call UnitRemoveAbilityBJ( 'A004', GetTriggerUnit() )
call UnitAddAbilityBJ( 'A005', GetTriggerUnit() )
call RemoveItem( udg_item )
endif
endfunction