The triggering looks good and short.
-
Set tempPoint1 = (Position of (Triggering unit))
-
Set tempPoint2 = (Position of (Attacking unit))
Store triggering unit and attacking unit to a unit variable. Use TriggeringPlayer instead of GetOwningPlayer() in here:
-
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at tempPoint1 facing Default building facing degrees
.
-
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
-
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt (Attacking unit)
store the last created unit in the variable because you use it many times. Other than that none.