I'm trying to recreate the tether spell from IO on Dota with modifications. I would like the tether range to be infinite and only break on death none of the slow and regen stuff, just the visual and break on death.
Following Tether v1.03 I copied what I think I needed:
Also on a semi related note, how would I make the visual effect arc as the distance between the units increases?
Following Tether v1.03 I copied what I think I needed:
-
Possess
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Chain Lightning (Neutral Hostile)
-
-
Actions
-
Set ChainCast = (Casting unit)
-
Set ChainCast1 = (Position of ChainCast)
-
Set ChainTarget = (Target unit of ability being cast)
-
Set ChainTarget1 = (Position of ChainTarget)
-
Special Effect - Create a special effect attached to the chest of ChainCast using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
-
Set ChainEffect1 = (Last created special effect)
-
Special Effect - Create a special effect attached to the head of ChainTarget using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
-
Set ChainEffect2 = (Last created special effect)
-
Lightning - Create a Finger of Death lightning effect from source ChainCast1 to target ChainTarget1
-
Custom script: call RemoveLocation(udg_ChainCast1)
-
Custom script: call RemoveLocation(udg_ChainTarget1)
-
-
Also on a semi related note, how would I make the visual effect arc as the distance between the units increases?