Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
trigger1
Events

Unit - a Unit finshes construction
Conditions

constructed Unit equal to chainlightning tower
Actions

Trigger - add to trigger2 the event (triggering Unit targets a Unit)
trigger2
Events
Conditions
Actions

Unit - order Triggering Unit to attack targeted Unit
AntiDeny

Events


Unit - A unit Is attacked

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




((Owner of (Attacking unit)) is an ally of (Owner of (Attacked unit))) Equal to True



Then - Actions




Unit - Order (Attacking unit) to Stop



Else - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






((Owner of (Attacking unit)) controller) Equal to User





Then - Actions






Unit - Order (Attacking unit) to Attack (Attacked unit)





Else - Actions






Do nothing