house2fly Posted February 1, 2021 Share Posted February 1, 2021 (edited) I want to do an ability that, whenever you kill an enemy, gives you a bonus for say ten seconds, and it stacks so if you kill two enemies you get double bonus, three enemies triple bonus etc. Problem is, when I tested this, all of the stacks wear off at once- after the first ten seconds is up. I was hoping to get them to wear off one at a time. Is it possible to do that with this game? The workaround I'm considering is, killing one enemy gives you StatusEffect1 for ten seconds- it does not stack at all. Killing an enemy with StatusEffect1 active gives you StatusEffect2, which is identical to StatusEffect1 except it has a different name and is only activated if StatusEffect1 is active. Killing a third enemy gives you StatusEffect 3, etc. Then when StatusEffect 1 wears off, you still have StatusEffect 2 and StatusEffect 3, which will wear off after their own ten-second timers run out. A bit convoluted, but possibly more versatile when it comes to eg upgrading the ability to add other status effects Edited February 1, 2021 by house2fly Link to comment Share on other sites More sharing options...
Grape_You_In_The_Mouth Posted March 8, 2021 Share Posted March 8, 2021 (edited) Doesn't my Fervor effect on Barbarian do this? Whenever I attack, +5% attack speed for 30 secs, stacks each time, each stack dies in 30 second layers, but X stacks = +5x% attack speed. Instead you do it based on kill, no? Edited March 8, 2021 by Grape_You_In_The_Mouth Link to comment Share on other sites More sharing options...
Grape_You_In_The_Mouth Posted March 8, 2021 Share Posted March 8, 2021 If you want to preserve the length of the stacks then you add a Trigger to increase the duration by 10 on kill, and each stack's duration will increase by 10 each kill. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now