- Joined
- Jun 12, 2010
- Messages
- 6
Hi! I need help with triggers.
First i must warning I from Slovakia and my english is bad.
I want create Aoe slow so I making him like that:
Example name AoE Slow:
Level 1 - 50% slow for 4 seconds
Level 2 - 50% slow for 4 seconds
Level 3 - 50% slow for 4 seconds
Level 3 - 50% slow for 4 seconds
Mana:100/90/80/70
CD:15/14/13/12 seconds
Its form spell Flaming Strike (because of AoE) / I set all damage in Flaming Stirke to 0, add custom buff with name Aoe Slow and making this trigger:
Is easier way for this Slow?
First i must warning I from Slovakia and my english is bad.
I want create Aoe slow so I making him like that:
Example name AoE Slow:
Level 1 - 50% slow for 4 seconds
Level 2 - 50% slow for 4 seconds
Level 3 - 50% slow for 4 seconds
Level 3 - 50% slow for 4 seconds
Mana:100/90/80/70
CD:15/14/13/12 seconds
Its form spell Flaming Strike (because of AoE) / I set all damage in Flaming Stirke to 0, add custom buff with name Aoe Slow and making this trigger:
- Aoe Slow
- Events
- Unit - A unit Begins casting the Ability
-
Conditions
- (Ability being cast) Equal to Aoe slow
-
Actions
- Unit Group - Pick every unit in (Units in (Playable Map area)) and do (Actions)
-
Loop -Actions
- Set Movement = (Integer((Current movement speed of (Picked unit)))
- Trigger - Turn on Slow<gen>
- Wait 3.90 seconds
- Trigger - Turn off Slow<gen>
-
Unit Group - Pick every unit in (Units in (Playable Map area)) and do (Actions)
-
Loop -Actions
-
If (All Conditions are True) then do (Then Actions) else do (else Actions)
-
If - Conditions
- ((Picked unit)) has buff Aoe Slow) Equal to True
-
Then - Actions
- Unit -Set (Picked unit) movement speed to ((Real(Movement))x2.00)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (else Actions)
-
Loop -Actions
- Slow
-
Events
- Time - Every 0.01 seconds of game time
- Conditions
-
Actions
- Unit Group - Pick every unit in (Units in (Playable Map area)) and do (Actions)
-
Loop -Actions
-
If (All Conditions are True) then do (Then Actions) else do (else Actions)
-
If - Conditions
- ((Picked unit)) has buff Aoe Slow) Equal to True
-
Then - Actions
- Unit -Set (Picked unit) movement speed to ((Real(Movement))x0.50)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (else Actions)
Is easier way for this Slow?