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...
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 account
Already have an account? Sign in here.Sign In Now