M
M. Warlord
Guest
Alright, to give you a basic idea of what I want, here's the tooltip for the my ability...
"The Mad Scientist (hero in question) locks onto a target enemy unit, enabling him vision and the ability to shoot at it from any range for 3/5/7/9 seconds. If any orders are issued to the Scientist while he is locked on, he will lose his concentration and not be able to shoot the target from a distance."
How did I plan on doing this? The hero has both attacks disabled, but has an orb ability that enables attack 1. Attack 2 is the same as attack 1, but with 20,000 range.
The ability itself is a faerie fire that doesn't decrease armor with a buff that gives the target the trueshot aura graphic. The rest is supposed to be done through these triggers:
Lock On
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Lock On
Actions
Unit - Order (Casting unit) to Attack (Target unit of ability being cast)
Unit - Add Attack 2 Enable to (Casting unit)
Unit - Remove Attack 1 Enable from (Casting unit)
Lock On Cancel
Events
Unit - A unit Is issued an order targeting an object
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order with no target
Conditions
(Unit-type of (Ordered unit)) Equal to Mad Scientist
(Level of Attack 2 Enable for (Ordered unit)) Equal to 1
Actions
Unit - Remove Attack 2 Enable from (Ordered unit)
Unit - Add Attack 1 Enable to (Ordered unit)
Attack Reset On Revival
Events
Unit - A unit Finishes reviving
Conditions
(Unit-type of (Reviving Hero)) Equal to Mad Scientist
Actions
Unit - Remove Attack 2 Enable from (Reviving Hero)
Unit - Add Attack 1 Enable to (Reviving Hero)
The problem? The hero can attack, but does no damamge whatsoever, the target of the spell gets no buff, and the hero seemingly never has the attack with 20,000 range throughout the entire process. Thanks for the read and any help in advance.
"The Mad Scientist (hero in question) locks onto a target enemy unit, enabling him vision and the ability to shoot at it from any range for 3/5/7/9 seconds. If any orders are issued to the Scientist while he is locked on, he will lose his concentration and not be able to shoot the target from a distance."
How did I plan on doing this? The hero has both attacks disabled, but has an orb ability that enables attack 1. Attack 2 is the same as attack 1, but with 20,000 range.
The ability itself is a faerie fire that doesn't decrease armor with a buff that gives the target the trueshot aura graphic. The rest is supposed to be done through these triggers:
Lock On
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Lock On
Actions
Unit - Order (Casting unit) to Attack (Target unit of ability being cast)
Unit - Add Attack 2 Enable to (Casting unit)
Unit - Remove Attack 1 Enable from (Casting unit)
Lock On Cancel
Events
Unit - A unit Is issued an order targeting an object
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order with no target
Conditions
(Unit-type of (Ordered unit)) Equal to Mad Scientist
(Level of Attack 2 Enable for (Ordered unit)) Equal to 1
Actions
Unit - Remove Attack 2 Enable from (Ordered unit)
Unit - Add Attack 1 Enable to (Ordered unit)
Attack Reset On Revival
Events
Unit - A unit Finishes reviving
Conditions
(Unit-type of (Reviving Hero)) Equal to Mad Scientist
Actions
Unit - Remove Attack 2 Enable from (Reviving Hero)
Unit - Add Attack 1 Enable to (Reviving Hero)
The problem? The hero can attack, but does no damamge whatsoever, the target of the spell gets no buff, and the hero seemingly never has the attack with 20,000 range throughout the entire process. Thanks for the read and any help in advance.