- Joined
- Dec 25, 2018
- Messages
- 110
Spell: Gain damage bonus if theres no enemy units nearby.
This trigger activates another trigger if selected hero is X.
Maybe 'triggering unit' is wrong there, what else should I pick?
This trigger activates another trigger if selected hero is X.
-
Picked
-

Events
-


Unit - A unit Sells a unit
-
-

Conditions
-


(Unit-type of (Sold unit)) Equal to Sharpshooter
-
-

Actions
-


Set SniperMax = (SniperMax + 1)
-


Set Sniper[SniperMax] = (Sold unit)
-


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



If - Conditions
-




SniperMax Equal to 1
-
-



Then - Actions
-




Trigger - Turn on Sniper <gen>
-
-



Else - Actions
-
-
-
-
Sniper
-

Events
-


Time - Every 1.00 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer SniperCur) from 1 to SniperMax, do (Actions)
-



Loop - Actions
-




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





If - Conditions
-






(Number of units in (Units within 100.00 of (Position of Sniper[SniperCur]) matching (((Triggering unit) belongs to an enemy of (Owner of Sniper[SniperCur])) Equal to True))) Greater than or equal to 1
-
-





Then - Actions
-






Unit - Remove Sniper buff from Sniper[SniperCur]
-
-
-
-
-
-
Maybe 'triggering unit' is wrong there, what else should I pick?
Last edited:





