Cool spell, but it follows the concept of my old (old, old, old) Magnetic Shield:
http://www.thehelper.net/forums/attachment.php?attachmentid=7366&d=1166254962
I will check the coding out for your version soon but in the meantime take a look at mine.
> i edited the constants, but is that what makes the creeps not revive?
If "Decay Time - (Bones)" + "(Flesh)" gives a value less than 30, then that means the unit is removed before 30 seconds has expired.
Just check those 2 constants.
> Could this be because the corpses don't last 30 seconds in my map?
That (if you've edited some gameplay constants), or because the creeps don't leave corpses at all.
> great remake
More of an update than a remake but thanks :)
> He added that pause because this is the way it's in DotA
Exactly.
It can also be modified through the Object Editor > Abilities > Meat Hook > Follow Through Time
Let's go over the periodic trigger.
Newgen gave me (a lot of) "double free of location" errors when the spell was cast.
So your custom script actions for removing leaks are not in the correct places.
Also, some variables were being overwritten, which were also causing leaks, and were not...