(Ability being cast) Equal to Lightning Aura - what ability got casted ?
Think in a rational way o0
Also, no need to damage the area.
Here's a more specific guide line:
• Create a group of all the units of the map that have the ability
• Create a loop that will run based on the group size
• Pick one random unit from the group
• Create the dummy on the picked unit location and order to cast (don't forget to add a expiration timer)
• Remove the picked unit from the group.
• Destroy the group with this custom script:
call DestroyGroup( udg_GROUPNAME )
Also remove the points each time or your map will lag pretty fast if you have a few units with the aura.
If you do not know what im talking about, read
this.