Moin moin =)
=== My personal vote: I don't know [X/5] ===
Ok after download and testing the map: It's from omniknight isn't it? But this should be the point for now:
1) Actually you only need 1 variable ( see point 3 )
2) You should use (Triggering Unit) instead of (Casting Unit)
3) You have a unit group leak and I would make it like this: Create a Point variable like this:
-
Set TempLocation = (Position of (Target unit of ability being cast))
instead of the Target variable.
Now you pick every units in range from this point and BEFORE you pick every units in.... you type this:
-
Custom script: set bj_wantDestroyGroup = true
After you done all actions, clear the point variable at the end with:
-
Custom script: call RemoveLocation(TempPoint)
4) This is a very easy spell, so there's no need to store caster,target,player in a variable. Only one TempPoint for the picking range.
=== So what we got now ===
As I said very simple spell, but unneeded variables you use there. It's ok if you create something like that, but this wont have a big use here. I don't know, actually it isn't a rejection nor it's an approval. So I leave my rating out and see what's coming.
Greetings and Peace
Dr. Boom