Can i edit it a little?
EDIT-----------------------
I tried to edit something, but it seems too complicated for me
Can you make me a Hammer spell just like that, traveling and stunning when hit. But 2 second stun, no stun increasing per range. If you wish to do it, please don't use hashtables or jass Thanks !
Hmmm, i can't say it's bad... Just when i import some spell that uses hashtables my map crashes... (i can't even start loading it)!
Crash? Are you like using some really old World Editor version?
well, i just finished coding this Elune-Arrow-like spell for my map,
it launches a rocket that travels in a line and will explode if it comes in contact with a tree (will destroy the tree) or an enemy unit (damaging and stunning)
have fun with it
edit: oh yeah it's in GUI, and is easily editable (if you know GUI of course), it uses no hashtables, just variables.
feedback is appreciated
View attachment 38824
Sadly, not MUI. Other than that, it should be quite fine. However, you don't need this:
Trigger:
- (Number of units in RR_Targets_Group) Greater than 0
If the unit group is empty, the loop actions under the "Unit Group" will not run at all. Plus, you're only removing the leaks only when the RR_Targets_Group is greater than 0. Thus, it leaks.