When you mention about 'spamming'...
The soul indeed is not removed, wtf lol @@"
I'll try another workaround, sorry about mentioning 'balancing' when the spell really bug in the first place @@"
Ehhh wait a second, I have tested it and it works fine lol.
As I said, YOU the one who should balance it.
Instead of 25 seconds, make it 8 seconds and spam it.
I assure you it won't freeze.
Why does it do that then? I mean it's not effect spam, then doesn't that make it leaks?
It's not leak, it's just the game could not handle the rapidly increasing unit in a short time.
To prevent this ?
SIMPLE, just balance it by configuring the setup.
You wanna know what else can make the game freeze/error ?
Try using SetUnitX/Y and move it to either direction (East, West, North, South).
Until certain point (out of the map boundary), the game will crash.
This is what I meant by balancing, but this is trigger-wise, you can map boundary check and do something about the dummy.
It's different on my case, you're the one should balance the configuration data such as damage, unit's HP, duration, etc.
The simple logic applies when:
If you're making a spell that has stun properties, but you make it a 100 second stun - now is this feasible ?
This is where balancing comes into action.