Igor_Z
You can change this now in User CP.
- Reaction score
- 61
Trigger:
- Timer move
- Events
- Time - Every 0.03 seconds of game time
- Conditions
- Actions
- Set BSLightning_Points[1] = (Position of BSLightning_Units[1])
- Set BSLightning_Points[2] = (Position of BSLightning_Units[2])
- Set BSLightning_Points[3] = (BSLightning_Points[1] offset by 40.00 towards (Angle from BSLightning_Points[1] to BSLightning_Points[2]) degrees)
- Unit - Turn collision for BSLightning_Units[1] Off
- Unit - Move BSLightning_Units[1] instantly to BSLightning_Points[3]
- Destructible - Pick every destructible within 175.00 of BSLightning_Points[1] and do (Actions)
- Loop - Actions
- Destructible - Kill (Picked destructible)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Distance between BSLightning_Points[1] and BSLightning_Points[2]) Less than or equal to 50.00
- Then - Actions
- Unit - Cause BSLightning_Units[1] to damage BSLightning_Units[2], dealing (25.00 + (25.00 x (Real((Level of Blink Lightning for BSLightning_Units[1]))))) damage of attack type Chaos and damage type Universal
- Unit - Order BSLightning_Units[1] to Attack BSLightning_Units[2]
- Unit - Turn collision for BSLightning_Units[1] On
- Custom script: call RemoveLocation(udg_BSLightning_Points[1])
- Custom script: call RemoveLocation(udg_BSLightning_Points[2])
- Custom script: call RemoveLocation(udg_BSLightning_Points[3])
- Trigger - Turn off (This trigger)
- Else - Actions
- If - Conditions
- Events