ok here is the trigger. its detecting the units but the dummys arnt casting the spells on them .... it only works for the first unit ?????
-
paralyz
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Paralyz
-
-
Actions
-
Set Para_caster = (Triggering unit)
-
Set Para_bounce = (1 + (Level of Paralyz for (Triggering unit)))
-
Set Para_number = 1
-
Set Para_target = (Target unit of ability being cast)
-
Game - Display to (All players) the text: (String((Unit-type of Para_target)))
-
Set temp_point = (Position of (Triggering unit))
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Paralyz(dummy) to (Last created unit)
-
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning Para_target
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add paralyz stun to (Last created unit)
-
Unit - Set level of paralyz stun for (Last created unit) to (Level of Paralyz for (Triggering unit))
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Para_target
-
Unit Group - Add Para_target to Para_hit
-
Set Para_group = (Units within 400.00 of temp_point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching u
-
Custom script: call RemoveLocation(udg_temp_point)
-
Game - Display to (All players) the text: (String((Number of units in Para_group)))
-
Set Para_target = (Random unit from Para_group)
-
Custom script: call DestroyGroup(udg_Para_group)
-
Set temp_point = (Position of Para_target)
-
Game - Display to (All players) the text: (String((Unit-type of Para_target)))
-
Set temp_point = (Position of Para_target)
-
Unit Group - Add Para_target to Para_hit
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Paralyz(dummy) to (Last created unit)
-
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning Para_target
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Set level of paralyz stun for (Last created unit) to (Level of Paralyz for (Triggering unit))
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Para_target
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Para_bounce Equal to 3
-
-
Then - Actions
-
Set Para_group = (Units within 400.00 of temp_point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching u
-
Custom script: call RemoveLocation(udg_temp_point)
-
Set Para_target = (Random unit from Para_group)
-
Game - Display to (All players) the text: (String((Unit-type of Para_target)))
-
Custom script: call DestroyGroup(udg_Para_group)
-
Set temp_point = (Position of Para_target)
-
Unit Group - Add Para_target to Para_hit
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Paralyz(dummy) to (Last created unit)
-
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning Para_target
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Set level of paralyz stun for (Last created unit) to (Level of Paralyz for (Triggering unit))
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Para_target
-
-
Else - Actions
-
Custom script: call RemoveLocation(udg_temp_point)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Para_bounce Equal to 4
-
-
Then - Actions
-
Set Para_group = (Units within 400.00 of temp_point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching u
-
Custom script: call RemoveLocation(udg_temp_point)
-
Set Para_target = (Random unit from Para_group)
-
Game - Display to (All players) the text: (String((Unit-type of Para_target)))
-
Custom script: call DestroyGroup(udg_Para_group)
-
Set temp_point = (Position of Para_target)
-
Unit Group - Add Para_target to Para_hit
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Paralyz(dummy) to (Last created unit)
-
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning Para_target
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Set level of paralyz stun for (Last created unit) to (Level of Paralyz for (Triggering unit))
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Para_target
-
-
Else - Actions
-
Custom script: call RemoveLocation(udg_temp_point)
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Para_bounce Equal to 5
-
-
Then - Actions
-
Set Para_group = (Units within 400.00 of temp_point matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and ((((Matching unit) is Magic Immune) Equal to False) and (((Matching u
-
Custom script: call RemoveLocation(udg_temp_point)
-
Set Para_target = (Random unit from Para_group)
-
Game - Display to (All players) the text: (String((Unit-type of Para_target)))
-
Custom script: call DestroyGroup(udg_Para_group)
-
Set temp_point = (Position of Para_target)
-
Unit Group - Add Para_target to Para_hit
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Paralyz(dummy) to (Last created unit)
-
Unit - Order (Last created unit) to Orc Far Seer - Chain Lightning Para_target
-
Unit - Create 1 dummy for (Owner of (Triggering unit)) at temp_point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Set level of paralyz stun for (Last created unit) to (Level of Paralyz for (Triggering unit))
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt Para_target
-
Custom script: call RemoveLocation(udg_temp_point)
-
-
Else - Actions
-
Custom script: call RemoveLocation(udg_temp_point)
-
-
-
Unit Group - Remove all units from Para_hit
-
-