Hi. I have a problem in triggering. I have create 2 triggers.
-
Phantom Strike Effect 1
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Attacking unit) Equal to PhantomStrikeCaster
-
Actions
- Set PhantomStrikeUnits = (Units in (Playable map area) matching (((Matching unit) belongs to an enemy of (Owner of PhantomStrikeCaster)) Equal to True))
-
Unit Group - Pick every unit in PhantomStrikeUnits and do (Actions)
-
Loop - Actions
- Trigger - Add to Phantom Strike Effect 2 <gen> the event (Unit - (Picked unit) Takes damage)
-
Loop - Actions
-
Events
-
Phantom Strike Effect 2
- Events
-
Conditions
- (Damage source) Equal to PhantomStrikeCaster
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Remaining time for PhantomStrikeCD) Equal to 0.00
-
Then - Actions
- Unit - Create 1 Satyr Minion for (Owner of PhantomStrikeCaster) at (Position of (Triggering unit)) facing Default building facing degrees
- Unit - Set level of Critical Strike (Satyr Minion) for (Last created unit) to (Level of Phantom Strike for PhantomStrikeCaster)
- Countdown Timer - Start PhantomStrikeCD as a One-shot timer that will expire in 8.00 seconds
- Unit - Remove Phantom Strike (Spell) from PhantomStrikeCaster
- Unit - Remove Phantom Strike buff from PhantomStrikeCaster
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Last edited: