Why is this trigger causing extreme lag, such as the game eventually crashing after several uses.
-
Ice Shard Cast
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Ice Shard
-
-

Actions
-


Set VariableSet IceShard_Point = (Position of (Target unit of ability being cast))
-


Set VariableSet Iceshard_Group = (Units within 1000.00 of (Position of (Target unit of ability being cast)).)
-


Unit Group - Pick every unit in Iceshard_Group and do (Actions)
-



Loop - Actions
-




Unit - Create 1 Ice Shard Caster for (Owner of (Triggering unit)) at IceShard_Point facing Default building facing degrees
-




Set VariableSet IceShard_Dummy = (Last created unit)
-




Unit - Add a 0.50 second Generic expiration timer to IceShard_Dummy
-




Unit - Set level of Ice Shard (Dummy) for IceShard_Dummy to (Level of Ice Shard for (Triggering unit))
-




Unit - Order IceShard_Dummy to Human Mountain King - Storm Bolt (Picked unit)
-
-
-


Custom script: call DestroyGroup (udg_Iceshard_Group)
-


Custom script: call RemoveLocation (udg_IceShard_Point)
-
-


