I have an ability idea where you cast a spell on a target that gives them a buff for a duration. During this duration you can attack them on the move, meaning you can run around and every time you'd normally be able to attack, your projectile would fly out of you and attack the target if you're within range.
My approach is to make a copy of your hero that has the same stats, level, and items, that is invisible, that attacks the target while always being at your position.
I'm having problems because I want the copy to always attack from your position, meaning he needs to be moved to your position, attack, and repeat. However the move trigger interrupts the attack. I want the copy to have the same range.
How would I make a dummy unit that always attacks a specific target from your position, and does nothing if the target is not within range?
My approach is to make a copy of your hero that has the same stats, level, and items, that is invisible, that attacks the target while always being at your position.
I'm having problems because I want the copy to always attack from your position, meaning he needs to be moved to your position, attack, and repeat. However the move trigger interrupts the attack. I want the copy to have the same range.
How would I make a dummy unit that always attacks a specific target from your position, and does nothing if the target is not within range?