Minimum target range of abilities

Status
Not open for further replies.
Level 9
Joined
Dec 31, 2016
Messages
320
I have a custom ability based on Channel. Is it possible to set minimum custing range of such ability? It deals damage in an area around your casting position and around your target position and it would be too op if you could just cast it right under your feet.
 
Yeah simple just make a trigger with 2 point variable
When unit start effect of ability
Set point1 = caster position
Set point2 = target position
If/then/else
If
Distance between point 1 and point 2 less then 150
Then
Order unit to stop
You cound add sound here like error or somthing
Else
Start the effect of ability
 
Status
Not open for further replies.
Back
Top