Hmm nvm i sloved this woot!
now not so uber task anymore, just tell me how i should correctly write if in JASS
now not so uber task anymore, just tell me how i should correctly write if in JASS
JASS:
function loltest takes nothing returns nothing
if udg_IceCellCaster != GetTriggeringUnit() then
call UnitDamageTargetBJ( udg_IceCellCaster, GetTriggerUnit(), ( 1.00 * ( I2R(GetHeroStatBJ(bj_HEROSTAT_INT, udg_IceCellCaster, true)) * TimerGetElapsed(udg_IceCellTimer) ) ), ATTACK_TYPE_NORMAL, DAMAGE_TYPE_NORMAL )
else
endif
endfunction