In vanilla, if a unit has regeneration, it will heal the unit for x amount per tick regardless of how many entities are in the unit.

What I'm trying to achieve is a heal per entity, that way smaller entity units don't benefit more than other units.

For example, I want trolls to have 10 hp regen each. If I give trolls 10 hp regeneration per second on a 10 troll entity unit in vanilla, the unit card heals for 10 hp per second, regardless of how many entities took damage.

The problem is that If I give the unit 100hp regen to represent each troll having 10 hp regen, as entities die off the regen becomes broken and misrepresents the healing that should be occurring.

Thanks for any and all help regarding this issue of mine.