Strilanc
Veteran Scripter
- Reaction score
- 42
I have a modified stim ability, with no hp cost, and I want to have it autocast when the caster is attacking an enemy unit.
What I tried to do is use the same validators as the charge ability, since it has the autocast behavior I want. Unfortunately, now the unit just constantly autocasts stim whenever it is attack-moving.
How do I make the ability autocast when 1) the caster is attack-moving, 2) has acquired a target, and 3) is near that target.
What I tried to do is use the same validators as the charge ability, since it has the autocast behavior I want. Unfortunately, now the unit just constantly autocasts stim whenever it is attack-moving.
How do I make the ability autocast when 1) the caster is attack-moving, 2) has acquired a target, and 3) is near that target.