Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I based by spell on blink, because it's the only spell with minimum range. But how do i stop the caster from teleporting...?![]()
No Blink Blink

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Blink

Actions


Unit - Remove Blink from (Triggering unit)


Unit - Add Blink to (Triggering unit)
I tested it and it works perfectly (Mana cost and everything).
No Blink Blink
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blink
Actions
Unit - Remove Blink from (Triggering unit)
Unit - Add Blink to (Triggering unit)
Blink Stop

Events


Unit - A unit Begins casting an ability

Conditions


(Ability being cast) Equal to Blink

Actions


Unit - Order (Triggering unit) to Stop
Melee Initialization

Events

Conditions

Actions


Set caster_pos = (Position of (Triggering unit))


Set target_pos = (Target point of ability being cast)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Distance between caster_pos and target_pos) Greater than or equal to 10.00



Then - Actions




-------- spell triggers --------



Else - Actions
could evan use
then you could use a different spell
Melee Initialization
Events
Conditions
Actions
Set caster_pos = (Position of (Triggering unit))
Set target_pos = (Target point of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between caster_pos and target_pos) Greater than or equal to 10.00
Then - Actions
-------- spell triggers --------
Else - Actions
but i dont think there is a way getting around losing mana and the cool down going off
No Blink Blink
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blink
Actions
Unit - Remove Blink from (Triggering unit)
Unit - Add Blink to (Triggering unit)
