I have this one hero that spawns uncontrollable units and the hero has abilities to move those units around. One of its abilities causes all of the uncontrollable units to thunderclap. The problem is that there is a ton of lag when 15-ish units all thunderclap at the same time.
I had the same problem with an ability where dummy units cast shockwave in 8 different directions from the caster. I fixed that one by switching the ability to breath of frost.
I can create the animation and deal the damage with triggers, however, now my problem is that I still need this thunderclap to apply the slow. My plan is to use the slow spell and cast it on each unit that got hit by a thunderclap. Should I spawn a unit for each target and then have them cast the slow spell on each one? I feel like spawning one and giving it the order for each target will only get the last target.
Is there a more general / better way to do this?
I'll also probably end up wanting the exact same thing with a stun effect instead.
I had the same problem with an ability where dummy units cast shockwave in 8 different directions from the caster. I fixed that one by switching the ability to breath of frost.
I can create the animation and deal the damage with triggers, however, now my problem is that I still need this thunderclap to apply the slow. My plan is to use the slow spell and cast it on each unit that got hit by a thunderclap. Should I spawn a unit for each target and then have them cast the slow spell on each one? I feel like spawning one and giving it the order for each target will only get the last target.
Is there a more general / better way to do this?
I'll also probably end up wanting the exact same thing with a stun effect instead.