Hi, I'm trying to make a spell that essentially will add +1 to a stack every time the unit is attacked by the Hero. What I'm looking to make is almost like Shadow Demon's shadow poison spell from Dota, though it will not be added through a spell but rather an auto attack. It will be able to be detonated by the hero at any given time to damage the units that have been hit by it. My plan was to use an array of unit variables and set the units individually as they are attacked, then add them to a unit group if not already in it. My issue is that I'll need a way to call upon these units at any given time when they are attacked in order to add another stack to what they already have. I would like input before I start doing things that could be a waste of time. Any thoughts on how to accomplish this? Thanks!
Last edited: