You will loop thru all possible buffs, and check them one by one, remove them one by one...
How can u do something like that? I mean, u can't just give the trigger "every one second pick all the units on the map, randomly ghess who need another second without knowing who, and then ghess random number of 1-10 to randomly let them have another second of the buff, then do that to the following buff."
Its totaly impossible unless u can make for each aura an invisable skill to the unit, the skill will represent how long you can put Armor Reducer on it, as it goes 5-4-3-3-2-1, remove the buff, the skill, and the dummy skill. The big question is which skill that leaves no buffs to use. So something like... Armor Passive (item) which have 100 levels (represent 100 seconds of maximum cast) and then make it each second -1 level till it reaches level 1. That way:
* the buff will be removed
* another cast will refresh the cooldown
* each skill will have dummy aura and a dummy timer (skill)
* there will be no error.
But that might cause imba lag unless you put it into random unit on game initiation and then remove it , since it make lag that may cause crush.
My thanks and this will guide all those who want to know.