cumulative stacking buffs
Such as Viscous Nasal Goo in DotA
Such as Shadow Vulnerability or Sunder Armour in WoW
I will use some arbitrary numbers to help describe what i want to do.
My hero has two abilities:
Curse of Corruption(single targetted) - adds a 5 second debuff to an enemy slowing its attack speed, this debuff should be stackable so as to slow the attack cumulatively.
Tainted Blades (passive) - chance on attack to apply or stack the same debuff as in the above ability.
so you can see the hero has two ways of adding and stacking this debuff which should stack up to 5 times slowing the attack speed by 10% per stack.
What I would really like the spell to do is for each subsequent application of the debuff to refresh the duration just like sunder armour or shadow vulnerability in world of warcraft. IE, if the debuff only has 1 second left but a second stack is applied this will mean a 20% attack speed reduction for 5 more seconds, even though the enemy has already suffered a 10% attack speed reduction for 4 seconds.
I have a reasonably comprehensive knowledge of triggered so feel free to give me complex instructions :)