I have a spell and upon casting it creates doodads in a circle around the caster traping units within it (distance from caster to innermost edge of the circle should be 400, making distance from edge to edge 800. Currently I have this trigger:
-
Rock Smash RoR
-

Events
-


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

Conditions
-


(Ability being cast) Equal to Rock Smash
-
-

Actions
-


Set RockCreationPoint = 0.00
-


For each (Integer A) from 1 to 34, do (Actions)
-



Loop - Actions
-




Set L = (Position of (Casting unit))
-




Destructible - Create a Rock Smash Doodad at (L offset by 400.00 towards RockCreationPoint degrees) facing (Random angle) with scale 1.00 and variation (Random integer number between 1 and 9)
-




Set RockCreationPoint = (RockCreationPoint + 25.00)
-
-
-
-







