whenever a unit dies, all other units that player control will gain increased stats permanently.
For example, 3 minutes into the game, 12 units have died for player A. This means that all other units player A controls would get for example +12 armor. 5 minutes into the game, 24 units have died. Now player A units gain +24 armor.
Any ideas how to build this?
The only way I can think of is that whenever a unit dies, it spawns an invisible dummy unit on the battlefield with a search effect that adds a buff to all other units. But I think that will lag because there will be a lot of units that die. Is there any other way?