When I use this spell about 10 times really fast
it cause lag why?
What can I improve?
This trigger was made for target only DOT which should be unstackable
Why lagging and What can I improve?
it cause lag why?
-
aa
-

Event
-


Unit - A unit Cast Spell
-
-

Condition
-


(Ability being cast) Equal to Shadow Strike
-
-

Action
-


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



If - Conditions
-




a Equal to 0
-
-



Then - Actions
-




Trigger - Turn on a <a>
-
-



Else - Actions
-
-


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



If - Conditions
-




((Target unit of ability being cast) has buff Shadow Strike Equal to TRUE
-
-



Then - Actions
-




Unit Group - Add (Target unit of ability being cast) to Group
-
-



Else - Actions
-
-


Set a = (a + 1)
-


Set b = (b + 1)
-


Set Damage[b] = (100.00 + (Real((Intelligence of (Casting unit) (Including bonuses)))))
-


Set Duration[b] = 50
-


Set Unit[b] = (Casting unit)
-


Set Target[b] = (Target unit of ability being cast)
-
-
-
a
-

?대깽??
-


Time - Every 0.20 seconds of game time
-
-

議곌굔
-

?≪뀡
-


For each (Integer c) from 1 to b, do (Actions)
-



Loop - Actions
-




Set Duration[c] = (Duration[c] - 1)
-




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





If - Conditions
-






(Target[c] is in Group) Equal to TRUE
-
-





Then - Actions
-






Unit Group - Remove Target[c] from Group
-






Set Target[c] = No unit
-






Set Duration[c] = 0
-
-





Else - Actions
-
-




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





If - Conditions
-






Duration[c] Equal to 0
-
-





Then - Actions
-






Unit - Order Unit[c] to damage Target[c] for Damage[c] using attack type magic and damage type Fire.
-






Set Target[c] = No unit
-






Set a = (a - 1)
-






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







If - Conditions
-








a Equal to 0
-
-







Then - Actions
-








Set b = 0
-








Trigger - Turn off (This trigger)
-
-







Else - Actions
-
-
-





Else - Actions
-






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







If - Conditions
-








Interval[c] Equal to 0
-
-







Then - Actions
-








Set Interval[c] = 5
-








Unit - Order Unit[c] to damage Target[c] for Damage[c] using attack type magic and damage type Fire.
-
-







Else - Actions
-








Set Interval[c] = (Interval[c] - 1)
-
-
-
-
-
-
-
-
What can I improve?
This trigger was made for target only DOT which should be unstackable
Why lagging and What can I improve?












