- Joined
- Oct 20, 2019
- Messages
- 60
Hello, i have two spells that im currently working on, but im stuck.
I would really appreciate the help =) ty
The first one is a blizzard ability that slows units within the aoe, however the units are slowed only upon the first wave (theres a total of 5 Waves), i would like all of the 5 Waves to be able to slow units.
How do i add that to the trigger?
Theres a 1 second time between each wave
The second spell is a simple blink ability but i would like the hero to recieve a temporarily intelligence bonus after the blink ability is used that lasts for 6 seconds.
I am aware why this trigger dosent give me what i want but i dont know how to fix it to last for 6 seconds
I would really appreciate the help =) ty
The first one is a blizzard ability that slows units within the aoe, however the units are slowed only upon the first wave (theres a total of 5 Waves), i would like all of the 5 Waves to be able to slow units.
How do i add that to the trigger?
Theres a 1 second time between each wave
-
Freezing Blizzard
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Freezing Blizzard (Hero)
-
-
Actions
-
Set FreezingBlizzardDummyPoint = (Position of (Triggering unit))
-
Set FreezingBlizzardPoint = (Target point of ability being cast)
-
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at FreezingBlizzardDummyPoint facing Default building facing degrees
-
Unit - Add a 6.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Freezing Blizzard (Dummy) to (Last created unit)
-
Unit - Set level of Freezing Blizzard (Dummy) for (Last created unit) to (Level of Freezing Blizzard (Hero) for (Triggering unit))
-
Unit - Order (Last created unit) to Human Archmage - Blizzard FreezingBlizzardPoint
-
Custom script: call RemoveLocation(udg_FreezingBlizzardDummyPoint)
-
Custom script: call RemoveLocation(udg_FreezingBlizzardPoint)
-
-
-
Freezing Blizzard Slow
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Freezing Blizzard (Hero)
-
-
Actions
-
Set FreezingBlizzardDummyPoint = (Position of (Triggering unit))
-
Set FreezingBlizzardPoint = (Target point of ability being cast)
-
Set FreezingBlizzardGroup = (Units within 250.00 of FreezingBlizzardPoint)
-
Unit Group - Pick every unit in FreezingBlizzardGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) belongs to an enemy of (Triggering player)) Equal to True
-
((Picked unit) is A structure) Equal to False
-
((Picked unit) is Mechanical) Equal to False
-
((Picked unit) is alive) Equal to True
-
-
Then - Actions
-
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at FreezingBlizzardDummyPoint facing Default building facing degrees
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit - Add FreezingBlizzard (Slow) to (Last created unit)
-
Unit - Set level of FreezingBlizzard (Slow) for (Last created unit) to (Level of Freezing Blizzard (Hero) for (Triggering unit))
-
Unit - Order (Last created unit) to Human Sorceress - Slow (Picked unit)
-
-
Else - Actions
-
-
-
-
Custom script: call RemoveLocation(udg_FreezingBlizzardDummyPoint)
-
Custom script: call RemoveLocation(udg_FreezingBlizzardPoint)
-
Custom script: call DestroyGroup(udg_FreezingBlizzardGroup)
-
-
The second spell is a simple blink ability but i would like the hero to recieve a temporarily intelligence bonus after the blink ability is used that lasts for 6 seconds.
I am aware why this trigger dosent give me what i want but i dont know how to fix it to last for 6 seconds
-
Blink Intelligence
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Blink (Hero)
-
-
Actions
-
Unit - Add Blink (Intelligence) to (Triggering unit)
-
Unit - Set level of Blink (Intelligence) for (Triggering unit) to (Level of Blink (Hero) for (Triggering unit))
-
Unit Group - Add (Triggering unit) to Blink_CheckGroup
-
-
-
Blink Remove
-
Events
-
Time - Every 0.25 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in Blink_CheckGroup and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Picked unit) has buff Ascendancy (Blink) ) Equal to False
-
-
Then - Actions
-
Unit Group - Remove (Picked unit) from Blink_CheckGroup
-
Unit - Remove Blink (Intelligence) from (Picked unit)
-
-
Else - Actions
-
-
-
-
-