here is the trigger the spell isent working :S
-
Activation
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Earthbind Avatar
-
Actions
- Set Avatar = (Triggering unit)
- Unit Group - Pick every unit in (Random 1 units from Casters) and do (Set Caster1 = (Picked unit))
- Unit Group - Remove Caster1 from Casters
- Unit - Add Thunder Clap (for "The King's Hammer" ) to Caster1
- Unit - Change ownership of Caster1 to (Owner of (Triggering unit)) and Change color
- Wait 0.01 seconds
- Unit Group - Pick every unit in (Random 1 units from Casters) and do (Set Caster2 = (Picked unit))
- Unit Group - Remove Caster2 from Casters
- Unit - Add Thunder Clap (for "The King's Hammer" ) to Caster2
- Unit - Change ownership of Caster2 to (Owner of (Triggering unit)) and Change color
- Wait 0.01 seconds
- Unit Group - Pick every unit in (Random 1 units from Casters) and do (Set Caster3 = (Picked unit))
- Unit Group - Remove Caster3 from Casters
- Unit - Add Thunder Clap (for "The King's Hammer" ) to Caster3
- Unit - Change ownership of Caster3 to (Owner of (Triggering unit)) and Change color
- Wait 0.01 seconds
- Unit Group - Pick every unit in (Random 1 units from Casters) and do (Set Caster4 = (Picked unit))
- Unit Group - Remove Caster4 from Casters
- Unit - Add Thunder Clap (for "The King's Hammer" ) to Caster4
- Unit - Change ownership of Caster4 to (Owner of (Triggering unit)) and Change color
- Trigger - Turn on Explosions <gen>
- Wait 60.00 seconds
- Trigger - Turn off Explosions <gen>
- Unit Group - Add Caster1 to Casters
- Unit Group - Add Caster2 to Casters
- Unit Group - Add Caster3 to Casters
- Unit Group - Add Caster4 to Casters
- Unit - Remove Thunder Clap (for "The King's Hammer" ) from Caster1
- Unit - Remove Thunder Clap (for "The King's Hammer" ) from Caster2
- Unit - Remove Thunder Clap (for "The King's Hammer" ) from Caster3
- Unit - Remove Thunder Clap (for "The King's Hammer" ) from Caster4
- Unit - Change ownership of Caster1 to Neutral Passive and Change color
- Unit - Change ownership of Caster2 to Neutral Passive and Change color
- Unit - Change ownership of Caster3 to Neutral Passive and Change color
- Unit - Change ownership of Caster4 to Neutral Passive and Change color
-
Events
-
Explosions
-
Events
- Time - Every 5.00 seconds of game time
- Conditions
-
Actions
- Unit - Move Caster1 instantly to ((Position of Avatar) offset by 250.00 towards 0.00 degrees)
- Unit - Move Caster2 instantly to ((Position of Avatar) offset by 250.00 towards 90.00 degrees)
- Unit - Move Caster3 instantly to ((Position of Avatar) offset by 250.00 towards 180.00 degrees)
- Unit - Move Caster4 instantly to ((Position of Avatar) offset by 250.00 towards 270.00 degrees)
- Custom script: call IssueImmediateOrderBJ( udg_Caster1, "ThunderClap" )
- Custom script: call IssueImmediateOrderBJ( udg_Caster2, "ThunderClap" )
- Custom script: call IssueImmediateOrderBJ( udg_Caster3, "ThunderClap" )
- Custom script: call IssueImmediateOrderBJ( udg_Caster4, "ThunderClap" )
-
Events