- Joined
- Sep 25, 2013
- Messages
- 717
This trigger works at least half the time. It is meant to decrease the cooldown of the "frostbolt" ability when used on non-hero units to 4 seconds. When used on hero units this cooldown reduction shouldn't occur and the ability should have default cooldown of 12 seconds. For some reason when using this ability on heroes, the trigger sets the cooldown to 4 seconds even though that should only occur when targeting non-hero units. I am baffled.
-
Frost Bolt
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Frostbolt (Saruman)
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Target unit of ability being cast) is A Hero) Equal to False
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Frostbolt (Saruman) for (Triggering unit)) Equal to 1
-
-
Then - Actions
-
Unit - For Unit (Triggering unit), Set cooldown of ability Frostbolt (Saruman), Level: 0 to 4.00
-
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) + 60.00)
-
Floating Text - Create floating text that reads +60 above (Triggering unit) with Z offset -100.00, using font size 10.00, color (30.00%, 50.00%, 100.00%), and 0.00% transparency
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-
Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Frostbolt (Saruman) for (Triggering unit)) Equal to 2
-
-
Then - Actions
-
Unit - For Unit (Triggering unit), Set cooldown of ability Frostbolt (Saruman), Level: 1 to 4.00
-
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) + 60.00)
-
Floating Text - Create floating text that reads +60 above (Triggering unit) with Z offset -100.00, using font size 10.00, color (30.00%, 50.00%, 100.00%), and 0.00% transparency
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-
Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Level of Frostbolt (Saruman) for (Triggering unit)) Equal to 3
-
-
Then - Actions
-
Unit - For Unit (Triggering unit), Set cooldown of ability Frostbolt (Saruman), Level: 2 to 4.00
-
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) + 60.00)
-
Floating Text - Create floating text that reads +60 above (Triggering unit) with Z offset -100.00, using font size 10.00, color (30.00%, 50.00%, 100.00%), and 0.00% transparency
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-
Floating Text - Set the velocity of (Last created floating text) to 100.00 towards 90.00 degrees
-
-
Else - Actions
-
-
-
-
-
-
-
Else - Actions
-
-
-
Last edited: