- Joined
- Dec 3, 2018
- Messages
- 874
This trigger should make LighingCaster cast chain lightning on a random unit from 800 range of the mage
-
Lightning Damage
-
Events
- Time - Every 6.00 seconds of game time
- Conditions
-
Actions
- Set VariableSet LightninPoint = (Position of Mage)
- Set VariableSet LightninGroup = (Units within 800.00 of LightninPoint matching (((Mage is alive) Equal to True) and (((Matching unit) belongs to an enemy of (Owner of Mage).) Equal to True)).)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in LightninGroup) Greater than 0
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering unit) has buff Rejuvenation) Equal to False
-
Then - Actions
- Set VariableSet LightninUnit = (Random unit from LightninGroup)
- Unit - Order LightningCaster to Orc Far Seer - Chain Lightning LightninUnit
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_LightninPoint)
- Custom script: call DestroyGroup(udg_LightninGroup)
-
Events
Last edited: