I created a trigger based Shockwave.
The Shockwave works fine the first time. But from the second cast on, it will hit a single target everytime the periodic trigger runs.
So far I figgured out, the "target unit" is put in the "Wave_TargetGroup[1]", but never in "Wave_TargetGroup[2,3,4,...]" when hit from another wave.
Am I correct assuming a unit can only be in 1 unit group at a time?
And how to solve this?
The Shockwave works fine the first time. But from the second cast on, it will hit a single target everytime the periodic trigger runs.
So far I figgured out, the "target unit" is put in the "Wave_TargetGroup[1]", but never in "Wave_TargetGroup[2,3,4,...]" when hit from another wave.
Am I correct assuming a unit can only be in 1 unit group at a time?
And how to solve this?
-
Unit Group - Pick every unit in (Units within Wave_Projectile_Size of Wave_Point_Origin[Wave_CustomValue]) and do (Actions)
-
Loop - Actions
- -------- if the unit has already been damaged, IGNORE THIS UNIT --------
- -------- else.... --------
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) is in Wave_TargetGroup[Wave_CustomValue]) Equal to False
-
Then - Actions
- -------- add unit to TARGET GROUP and then apply DMG --------
- Unit Group - Add (Picked unit) to Wave_TargetGroup[Wave_CustomValue]
- Unit - Cause Wave_Caster[Wave_CustomValue] to damage (Picked unit), dealing Wave_DMG damage of attack type Spells and damage type Normal
-
Else - Actions
- Do nothing
-
If - Conditions
-
Loop - Actions