scope Blink initializer init import Units import RegisterPlayerUnitEvent constant integer BLINK_ID = 'A001' function act takes nothing returns nothing if GetSpellAbilityId() == BLINK_ID then Units.dischargeBall(GetTriggerUnit()) end end function init takes nothing returns nothing registerPlayerUnitEvent(EVENT_PLAYER_UNIT_SPELL_EFFECT, function act) end endscope