Blinkstun
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blink
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Target unit of ability being cast) belongs to an enemy of (Owner of (Casting unit))) Equal to True
Then - Actions
Set BlinkStun_TargetPosition = (Position of (Target unit of ability being cast))
Unit - Create 1 Blink dummy for (Owner of (Casting unit)) at (Position of (Casting unit)) facing BlinkStun_TargetPosition
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Target unit of ability being cast)
Animation - Play (Last created unit)'s attack animation
Unit - Move (Casting unit) instantly to (Position of (Target unit of ability being cast)), facing BlinkStun_TargetPosition
Wait 0.10 seconds
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 20.00% transparency
Wait 0.10 seconds
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 40.00% transparency
Wait 0.10 seconds
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 60.00% transparency
Wait 0.10 seconds
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 80.00% transparency
Wait 0.10 seconds
Animation - Change (Last created unit)'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency
Wait 0.10 seconds
Unit - Remove (Last created unit) from the game
Custom script: call RemoveLocation(udg_BlinkStun_TargetPosition)
Else - Actions
Unit - Move (Casting unit) instantly to (Position of (Target unit of ability being cast))
Is there any problem with it? the spell is based off channel and when i untick the option "Disable Other Abilities" in object manager, the spell wont go on cooldown but when i do, it does. The problem left is if i tick it, the play cant stop the spell like how SF players in dota stop their razes.
Also, thanks alot Xonok