D
dukebballfan
Guest
I've been trying to get two abilities to swap for a certain period of time. What's wrong with this trigger?
Event: Unit - A unit Starts the effect of an ability
Conditions: (Ability being cast) Equal to Ability1
(Level of Ability1 for (Casting unit)) Equal to 1
(Level of Ability2 for (Casting unit)) Equal to 1
Actions: Countdown Timer - Start timer as a One-shot timer that will expire in 20.00 seconds
Unit - Add Ability3 to (Casting unit)
And the second one:
Event: Time - timer expires
Conditions
Actions: Trigger - Add to (This trigger) the event (Unit - A unit Finishes casting an ability)
Player - Disable Ability3 for Player 1 (Red)
Player - Enable Ability2 for Player 1 (Red)
It works fine the first time you use it, but once you use it again, Ability 3 stays disabled. Anyone know what I should do here? Thanks.
Event: Unit - A unit Starts the effect of an ability
Conditions: (Ability being cast) Equal to Ability1
(Level of Ability1 for (Casting unit)) Equal to 1
(Level of Ability2 for (Casting unit)) Equal to 1
Actions: Countdown Timer - Start timer as a One-shot timer that will expire in 20.00 seconds
Unit - Add Ability3 to (Casting unit)
And the second one:
Event: Time - timer expires
Conditions
Actions: Trigger - Add to (This trigger) the event (Unit - A unit Finishes casting an ability)
Player - Disable Ability3 for Player 1 (Red)
Player - Enable Ability2 for Player 1 (Red)
It works fine the first time you use it, but once you use it again, Ability 3 stays disabled. Anyone know what I should do here? Thanks.


