Stacking Status Effects and Damage-over-Time ("8 Ways to Bleed")

I spent the last couple of days implementing stacking mechanics into a Bleed state, and now I'm having second thoughts about the way I handled it, so I thought I'd bounce some ideas off the forum. I'm using bleed/damage over time for the purposes of discussion, but this could apply to most status effects or buffs--just mentally replace "damage" with "stat boost effect" or what have you.

How do you handle stacking the effects and durations of status effects? Or how do you like to see it handled?

There are surprisingly many ways to implement stacking effects when you start thinking about it, each with very different results in gameplay and balancing. I'm sure there are some options I didn't even think of, but here are some I've considered:


1) No Stacking Damage, No Stacking Duration


If a battler is inflicted with the same status effect it already has, inflicting the status effect again simply has no effect at all. The damage/effect of the status doesn't increase and nor does the duration of the status effect. This makes it entirely useless/wasteful to inflict a status effect that is already present.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, nothing stacks, nothing changes--Bleed will do 5 damage for 1 more turn.

Theoretically, using Bleed 3 times in a row would still only result in 15 total damage (5 damage x 3 turns). Likewise, using Bleed 6 times in a row would only result in 30 total damage (5 damage x 6 turns). It would thus be very sub-optimal to keep inflicting Bleed if it is already inflicted, the player has no reason at all to do so and it would be a wasted action. It would be more efficient to use 3 separate Bleed inflictions, costing only 3 actions over 9 turns to inflict 45 damage.



2) No Stacking Damage, Resetting Duration

If a battler is inflicted with a status effect multiple times, each subsequent infliction resets the duration of the status effect. This makes inflicting a status effect that is already present slightly less useless as it serves to reset the duration of the effect, but with no further enhancement.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the battler will now take 5 damage for a renewed 3 turns. If Bleed were inflicted *again* on the next turn, the count would again reset to 3. Bleed can never deal more than 5 damage/turn and each infliction never lasts longer than 3 turns.

Theoretically, stacking Bleed 3 times in a row could result in 25 total damage over 5 total turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 2 more turns, 5 damage turn 3 for 2 more turns, then 5 damage x 2 turns).

Using Bleed 6 times in a row could result in 40 total damage over 8 turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 2 more turns, 5 damage turn 3 for 2 more turns, 5 damage turn 4 for 2 more turns, 5 damage turn 5 for 2 more turns, 5 damage turn 6 for 2 more turns, then 5 damage x 2 turns).

Note that this offers barely better utility than no stacking, since 45 total over 9 turns could be achieved by only 3 separate status inflictions of Bleed (costing only 3 actions over those 9 turns), so it would still likely be sub-optimal for action economy to specifically try to stack Bleed under these conditions. It's just not as in-your-face of a wasted action.




3) Stacking Damage, Not Stacking Duration

If a battler is hit again with the same status effect, the damage/effect is amplified, but the turn count left on the status effect is unchanged from what it originally was. Damage can increase on subsequent inflictions, but the duration of the effect can never exceed what it was when the status effect was first inflicted.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the battler will take 10 damage for the 1 remaining turn on the status effect.

Theoretically, stacking Bleed 3 times in a row would result in 30 total damage over 3 total turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 1 more turn, 15 damage turn 3 and end of status).

Stacking Bleed 6 times in a row would result in 60 total damage over 6 total turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 1 more turn, 15 damage turn 3 and end of status, then 5 damage turn 1 for 2 more turns, 10 damage turn 2 for 1 more turn, 15 damage turn 3 and end of status).

Stacking Bleed 9 times in a row(!) would result in 90 total damage over 9 total turns, which is double what could be achieved by 3 separate inflictions over 9 total turns, but also costs triple the actions (9 uses of Bleed vs 3).

This clearly offers more utility than the previous treatments of stacking, but still perhaps marginally when action economy is considered: it is still arguably more efficient to inflict 3 separate Bleeds to deal 45 total damage over 9 turns, because it costs only 3 actions to do. OTOH, there is some burst-damage utility to this type of stacking, since it becomes possible to deal more damage in a shorter period of time than would be dealt with 3 entirely separate status inflictions (30 damage per 3 turns vs 15 damage per 3 turns). In practice, though, the utility cost of using so many actions to maintain the bleed compared to the amount of damage gained means there would likely still be little incentive to stack bleeds in this way.



4) No Stacking Damage, but Stacking Duration

This form of stacking starts to offer more utility, as it could become possible to significantly increase the duration of the status in a comparitively short period of time, dealing more total damage over time.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed while 1 turn remains on an existing Bleed, the battler will now take 5 damage for 4 more turns (the 1 remaining plus 3 more from the new stack). If Bleed is inflicted *again* on the next turn, it would add 3 more turns to the counter, and so on. Bleed never does more than 5 damage per turn, but each infliction increases the duration of the effect.

Theoretically, stacking Bleed 3 times in a row would result in 45 total damage over 9 total turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 4 more turns, 5 damage turn 3 for 6 more turns, then 5 damage x 6 more turns). This is the same amount that could be achieved by three separate inflictions of the status over time; however, there is more potential utility here in that you could ensure this damage in the first 3 turns with this form of stacking, whereas separate inflictions would have to be timed to turn 1, 4, and 7 to reach the same amount of damage.

However, consider that stacking Bleed 6 times in a row would result in 90 damage over 18 total turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 4 more turns, 5 damage turn 3 for 6 more turns, 5 damage turn 4 for 8 more turns, 5 damage turn 5 for 10 more turns, 5 damage turn 6 for 12 more turns, then 5 damage x 12 turns). This form of stacking offers slightly more utility, but in a way that favors very long battles and long-term payoff of the bleed stacking. In practice, it would only offer much utility against high HP bosses and the like.



5) Stacking Damage, Resetting Duration

Damage/effect is amplified, and the turn count is also reset to what it would be if a fresh status effect had been cast. You could essentially continue inflicting Bleed for more and more damage and continually reset the counter on the status effect each time, but since the duration of the effect never increases, you have to continually maintain it with fresh Bleeds to keep from losing the stack.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the battler will take 10 damage for 3 more turns. If Bleed were inflicted *again* on the next turn, the battler will take 15 damage for the next 3 turns, and so on. Damage can continue to stack infinitely, but the effect wouldn't last longer than 3 turns at a time if it's not renewed, so the player would have to continually maintain the bleed status.

Theoretically, stacking Bleed 3 times in a row would result in 60 total damage over 5 turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 2 more turns, 15 damage turn 3 for 2 more turns, then 15 damage x 2 turns). Here we start to see a clear advantage in action economy to stacking: this is significantly more damage than could be dealt by 3 separate inflictions of the status, and in a significantly shorter amount of time.

This effect only increases with additional stacks: stacking Bleed 6 times in a row would result in 165 total damage over 8 turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 2 more turns, 15 damage turn 3 for 2 more turns, 20 damage turn 4 for 2 more turns, 25 damage turn 5 for 2 more turns, 30 damage turn 6 for 2 more turns, then 30 damage x 2 turns),

Stacking Bleed 9 times in a row would result in 315 total damage over 11 turns (5 damage turn 1, 10 damage turn 2, 15 damage turn 3, 20 damage turn 4, 25 damage turn 5, 30 damage turn 6, 35 damage turn 7, 40 damage turn 8, 45 damage turn 9, and 45 damage x 2 turns).

In contrast to previous examples, there is now an extremely clear incentive to stack Bleed over and over as much as possible!



6) Stacking Damage AND Stacking Duration

Similar to Option 5 except the duration stacks rather than resetting, so not only does the damage/effectiveness increase with each subsequent infliction, so does the duration of the effect.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed while 1 turn remains on an existing Bleed, battler will take 10 damage for 4 more turns (the 1 remaining plus 3 more from the new stack). If Bleed were inflicted *again* on the next turn, the battler will take 15 damage for 6 more turns (the 3 remaining plus 3 more), and so on. Both damage and duration could effectively stack higher and higher with each subsequent use, with no limit, to the point you could get a 50 hp/turn stack that lasts for turn after turn.

Theoretically, stacking Bleed 3 times in a row would result in a whopping 120 total damage over 9 turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 4 more turns, 15 damage turn 3 for 6 more turns, then 15 damage x 6 turns). This, of course, makes stacking the Bleed state vastly more appealing than applying 3 separate Bleed states over 9 turns, applying over 250% more damage in the same time frame with the same number of actions, with the potential for even more stacking with each subsequent use. I'm not even going to bother calculating the effect of stacking Bleed beyond 3 times in a row, the exponential effect is clear. Without a cap, this form of stacking seems so unbalanced, the entire gameplay would simply revolve around spamming bleed.



7) Individually Stacking Damage and Duration

Now things get a little more complicated. This is actually the solution I implemented. This allows damage to stack with each new infliction, but doesn't reset the counter on the original infliction. Each stack's duration is considered individually.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the duration shown will increase to 3 turns, and the battler will take 10 damage on the following turn. However, on the remaining 2 turns after that, the battler will only take 5 damage, because the original bleed's 3 turns have expired. The highest the damage could stack by repeatedly using Bleed would be to 15 hp/turn, because since each stack lasts 3 turns individually, the most stacks possible at any given time would also be 3.

Theoretically, stacking Bleed 3 times in a row would result in 45 total damage over 5 total turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 2 more turns, 15 damage turn 2 for 2 more turns, then 10 damage turn 4, 5 damage turn 5). This is the same amount of damage that could be achieved from three separate inflictions of the status, but it achieves that damage in half as much time. There is a clear advantage to stacking the status effects, but overall it is not disproportionate to what 3 non-stacked usages of the status would achieve.

Stacking Bleed 6 times in a row would result in 90 total damage over 8 total turns (5 damage turn 1, 10 damage turn 2, 15 damage turn 3, 15 damage turn 4, 15 damage turn 5, 15 damage turn 6, then 10 damage turn 7, then 5 damage turn 8). And so on, with using Bleed 9 times in a row resulting in 180 total damage over 11 turns.

This method incentivizes the player to maintain a stacked bleed to do more damage quickly, but doesn't reward endless bleed spamming in quite so disproportionate and exponential a manner as the other damage stacking methods. The status effect can also never last longer than the 3 turn duration without constant maintenance by the player, offsetting the utility with action costs, but not in a way that actually penalizes the player for stacking, like some of the earlier options.




8) Some combination above with additional hard-coded limit to stacking

Any of the above could be augmented by setting an arbitrary limit in the formula--for instance, damage and/or turn count cannot stack beyond X amount.

Example: Bleed does 5 damage for 3 turns and both damage and turns stack per Option 6, but there is a damage cap at 20 and a turn cap at 5. If I inflict Bleed while 1 turn remains on an existing Bleed, the battler will take 10 damage for 4 more turns. If I inflict Bleed *again* on the next turn, the battler will take 15 damage, but only for the next 5 turns, as that is capped. Inflict Bleed *again*, battler will take 20 damage, for 5 more turns. Inflict Bleed *again*, battler will still only take 20 damage, for 5 more turns, since both are capped.

In theory, this probably plays out similarly to Option 7, but without the "drop-off" effect where the last turns of a stacked status effect gradually do less damage as earlier inflictions of it wear off. But I've spent a good few hours on this post and I can't be arsed to do the example math for this one...



All this discussion ignores another potential wrinkle--the possibility of moves that inflict Bleed statuses that have different damage and durations--like, "Cut" inflicts Bleed of 5 damage for 3 turns, but "Rip Jugular" inflicts Bleed of 15 damage for 2 turns. That introduces an entirely new variable depending on how you treat those--for instance, if Rip Jugular bleed is inflicted on top of an existing Cut bleed, it could become 20 damage for 3 turns, 20 damage for 5 turns, 15 damage for 3 turns, etc., depending on how you treated it...


This ended up being a lot to write up, but in doing so, I think I've confirmed that I like Method 7 the best. It seems like the best middle ground between incentivizing players to stack states without making stacking OP.

What do you all think? Are there other ways to treat status effect and damage over time stacking? Which option(s) do you like and what do you see as pros and cons from a gameplay perspective?


P.S. Stay tuned for my next game, a fan-sequel to "7 Days to Die" called 8 Ways to Bleed.
I prefer option 4.
It feels Both the most fair and least exploitable to me and it makes sense with mist status effects imo.

I would however throw in another option and that is that in addition to option 4 one also becomes weaker to attacks with the same effect. (Makes sense in my head somehow lol)
It depends on the combat system, but for RPG Maker, I always go with option 2 because it's the easiest to handle. Because RPG Maker doesn't allow for stacking normally, so you'd need plugins to get any other functionality with them done. It also keeps status effects pretty simple to understand and balanced.

Stacking effect could be interesting, with skill sets built around it. Stacking duration, likely not as much because most battle systems don't go on for long enough for it to matter, outside of boss fights. But even then, it just doesn't feel as exciting when stacking effect is the alternative.
I use option #4 for my Burn effect. Damage per turn remains the same but duration increases with more applications. I combine this with a fire spell called Incinerate which besides scaling with MAT, also scales with the number of turns remaining on the Burn effect. However, the spell consumes the Burn state as a result. It's great for long, drawn-out fights such as boss battles.

For Bleeds, I currently use option #5, but I'm considering something that could be potentially imbalanced or overpowered. Basically, my idea was to make the DoT component itself deal very little damage, but the Bleed state also lasts an unlimited duration. The Bleed remains on the target until that unit receives a Heal of some sort. Reapplications of Bleed would increase the DoT component, but again, it will deal very little damage in the grand scheme of things. Something like, if a normal basic attack deals 10dmg, then a Bleed DoT would deal 1dmg per turn per stack. I haven't actually implemented this, but it was just an idea.
I'm adding one

9) Morphed effect and reset duration.

This is essentially stacking damage, but with a little bit different formula. It is not a linear formula such as if each stack damages 5, so if you have 3 stacks it means 15. The morphed effect is, each stack could have different increased damage, or additional effect while they have it.

For example. At one stack, the bleeding effect would damage you by 30, then for the next stack, damages you by an additional +5 while resetting the duration. Or you could have the second stack lower the enemy defense while the bleeding damage does not change. Then the third stack lowers the defense further or adding more effect to it.

Theoretical damage number could be anything depends on the number. The diminishing return for the stacking effect makes at least, adding one stack is mandatory to boost the DPS. But the second stack onward may not. The purpose of this is so that the player does not feel like they should stack the state to maximum stack for maximum benefit. But when they have a chance to do so, they are rewarded with slightly more damage.

Applying this state should have been the side effect of a skill such as passive or side effect from an active damaging skill rather than on its own. So, what's in the player's mind should be about damaging the enemy with an active skill rather than having a purpose to add the DoT effect to the enemy.
------
I don't have many DoT effects since everything could happen really fast in a span of few turns to make one DoT effect shines. Most of the DoT effect comes from various sources rather than one source you stack all over again (you don't have the luxury to do that during the heat of the battle). So I choose to implement 2), 5) and 9) most of the time.
Either number 2 or have a set idea/limit to the stacking. "Cannot be stacked more than 3 times" or "If used again, while already in effect, also reduce def by XXX" This reduces the ability to abuse a system, and gives you control over how much you want abused.
Thanks for the thoughts! Certainly a variety of preferences, but that's to be expected, depending on how much utility you want stacking states to actually have. Sometimes you don't want it to have any utility at all! ("Quit spamming that, they're already bleedin'!")

Option 2 is a balanced choice that's easier to predict for dev and player, it just doesn't seem to offer any incentive for the player to stack the state--but that's the perfect choice if you don't really want there to be such an incentive, but also don't want to punish the player with a totally wasted move like Option 1. (Not to mention it's the RPG Maker default.)

Option 4 offers some good utility for longer fights, especially if you're getting synergy with other moves by having the state applied. (FWIW, I believe it's also fairly easy to implement Option 4 in MV with Yanfly's Buffs & States Core.) In my game, though, there are incentives to finishing combat quickly, so I don't think it would be the most interesting or synergistic choice in my case.

Personally, I want to incentivize strategic state stacking, since it just seems cool to me, and it adds strategy to another mechanic in my game, which is skill selection. Clever selection of skills for each character will involve synergizing the skills across the party so they combine to deal maximum damage. It should be possible to make a "bleed" party with a lot of skills that synergize around inflicting and exploiting bleed, although perhaps at the cost of the ability to inflict poison, or stun, etc., so those enemies better be vulnerable to bleed!

That said, I really like @TheoAllen 's point regarding diminishing returns in that you don't want the player to feel like they're locked in and must keep stacking states as the most efficient choice. I'll have to think about that.
In my GameMaker game (where I built the status engine from scratch so I don't have any bias based on how technically easy/hard it would be to implement), my solution comes closest to your "No Stacking Damage, Resetting Duration" approach.

What I do is I allow multiple versions of the same status like Poison to be present on a battler at the same time (this is important because Utility Scaling means that two different versions of the Poison status may have different strengths or durations based on who inflicted it and which skill was used to inflict it), but only the strongest Poison currently on a battler will be used to determine how much HP the battler loses this tick and the weaker Poisons will be ignored. I don't see any design drawbacks to my approach; the only issue is the complexity which I can partially rectify with a "Status Menu" available during battle to see all instances of all statuses currently on a battler.

I don't think any approach is particularly bad, but I would warn against using "No Stacking Damage, No Stacking Duration" unless you have status effects that are the kind of full-disables that would make it too easy to build up "stun-locks" where a battler will have more turns of stun stack up than they can ever work off, as completely no-selling any status that's already applied will lead to wasted turns and a lot of anxiety over when the status effects will wear off. And I would also warn against Stacking Damage alongside Stacking or Resetting Duration, because of the exact kinds of exponential "stacking economies" you described. It makes it very, very hard to balance when 1 four-turn Poison = 40 damage but 4 Poisons = 400 (resetting duration) or 640 (stacking duration) damage. If you design the entire combat flow with this kind of mechanic in mind then there is definitely a way to make it work, but without doing so the whole thing will become a horribly-balanced joke.
I spent the last couple of days implementing stacking mechanics into a Bleed state, and now I'm having second thoughts about the way I handled it, so I thought I'd bounce some ideas off the forum. I'm using bleed/damage over time for the purposes of discussion, but this could apply to most status effects or buffs--just mentally replace "damage" with "stat boost effect" or what have you.

How do you handle stacking the effects and durations of status effects? Or how do you like to see it handled?

There are surprisingly many ways to implement stacking effects when you start thinking about it, each with very different results in gameplay and balancing. I'm sure there are some options I didn't even think of, but here are some I've considered:


1) No Stacking Damage, No Stacking Duration

If a battler is inflicted with the same status effect it already has, inflicting the status effect again simply has no effect at all. The damage/effect of the status doesn't increase and nor does the duration of the status effect. This makes it entirely useless/wasteful to inflict a status effect that is already present.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, nothing stacks, nothing changes--Bleed will do 5 damage for 1 more turn.

Theoretically, using Bleed 3 times in a row would still only result in 15 total damage (5 damage x 3 turns). Likewise, using Bleed 6 times in a row would only result in 30 total damage (5 damage x 6 turns). It would thus be very sub-optimal to keep inflicting Bleed if it is already inflicted, the player has no reason at all to do so and it would be a wasted action. It would be more efficient to use 3 separate Bleed inflictions, costing only 3 actions over 9 turns to inflict 45 damage.



2) No Stacking Damage, Resetting Duration

If a battler is inflicted with a status effect multiple times, each subsequent infliction resets the duration of the status effect. This makes inflicting a status effect that is already present slightly less useless as it serves to reset the duration of the effect, but with no further enhancement.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the battler will now take 5 damage for a renewed 3 turns. If Bleed were inflicted *again* on the next turn, the count would again reset to 3. Bleed can never deal more than 5 damage/turn and each infliction never lasts longer than 3 turns.

Theoretically, stacking Bleed 3 times in a row could result in 25 total damage over 5 total turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 2 more turns, 5 damage turn 3 for 2 more turns, then 5 damage x 2 turns).

Using Bleed 6 times in a row could result in 40 total damage over 8 turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 2 more turns, 5 damage turn 3 for 2 more turns, 5 damage turn 4 for 2 more turns, 5 damage turn 5 for 2 more turns, 5 damage turn 6 for 2 more turns, then 5 damage x 2 turns).

Note that this offers barely better utility than no stacking, since 45 total over 9 turns could be achieved by only 3 separate status inflictions of Bleed (costing only 3 actions over those 9 turns), so it would still likely be sub-optimal for action economy to specifically try to stack Bleed under these conditions. It's just not as in-your-face of a wasted action.




3) Stacking Damage, Not Stacking Duration

If a battler is hit again with the same status effect, the damage/effect is amplified, but the turn count left on the status effect is unchanged from what it originally was. Damage can increase on subsequent inflictions, but the duration of the effect can never exceed what it was when the status effect was first inflicted.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the battler will take 10 damage for the 1 remaining turn on the status effect.

Theoretically, stacking Bleed 3 times in a row would result in 30 total damage over 3 total turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 1 more turn, 15 damage turn 3 and end of status).

Stacking Bleed 6 times in a row would result in 60 total damage over 6 total turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 1 more turn, 15 damage turn 3 and end of status, then 5 damage turn 1 for 2 more turns, 10 damage turn 2 for 1 more turn, 15 damage turn 3 and end of status).

Stacking Bleed 9 times in a row(!) would result in 90 total damage over 9 total turns, which is double what could be achieved by 3 separate inflictions over 9 total turns, but also costs triple the actions (9 uses of Bleed vs 3).

This clearly offers more utility than the previous treatments of stacking, but still perhaps marginally when action economy is considered: it is still arguably more efficient to inflict 3 separate Bleeds to deal 45 total damage over 9 turns, because it costs only 3 actions to do. OTOH, there is some burst-damage utility to this type of stacking, since it becomes possible to deal more damage in a shorter period of time than would be dealt with 3 entirely separate status inflictions (30 damage per 3 turns vs 15 damage per 3 turns). In practice, though, the utility cost of using so many actions to maintain the bleed compared to the amount of damage gained means there would likely still be little incentive to stack bleeds in this way.



4) No Stacking Damage, but Stacking Duration

This form of stacking starts to offer more utility, as it could become possible to significantly increase the duration of the status in a comparitively short period of time, dealing more total damage over time.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed while 1 turn remains on an existing Bleed, the battler will now take 5 damage for 4 more turns (the 1 remaining plus 3 more from the new stack). If Bleed is inflicted *again* on the next turn, it would add 3 more turns to the counter, and so on. Bleed never does more than 5 damage per turn, but each infliction increases the duration of the effect.

Theoretically, stacking Bleed 3 times in a row would result in 45 total damage over 9 total turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 4 more turns, 5 damage turn 3 for 6 more turns, then 5 damage x 6 more turns). This is the same amount that could be achieved by three separate inflictions of the status over time; however, there is more potential utility here in that you could ensure this damage in the first 3 turns with this form of stacking, whereas separate inflictions would have to be timed to turn 1, 4, and 7 to reach the same amount of damage.

However, consider that stacking Bleed 6 times in a row would result in 90 damage over 18 total turns (5 damage turn 1 for 2 more turns, 5 damage turn 2 for 4 more turns, 5 damage turn 3 for 6 more turns, 5 damage turn 4 for 8 more turns, 5 damage turn 5 for 10 more turns, 5 damage turn 6 for 12 more turns, then 5 damage x 12 turns). This form of stacking offers slightly more utility, but in a way that favors very long battles and long-term payoff of the bleed stacking. In practice, it would only offer much utility against high HP bosses and the like.



5) Stacking Damage, Resetting Duration

Damage/effect is amplified, and the turn count is also reset to what it would be if a fresh status effect had been cast. You could essentially continue inflicting Bleed for more and more damage and continually reset the counter on the status effect each time, but since the duration of the effect never increases, you have to continually maintain it with fresh Bleeds to keep from losing the stack.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the battler will take 10 damage for 3 more turns. If Bleed were inflicted *again* on the next turn, the battler will take 15 damage for the next 3 turns, and so on. Damage can continue to stack infinitely, but the effect wouldn't last longer than 3 turns at a time if it's not renewed, so the player would have to continually maintain the bleed status.

Theoretically, stacking Bleed 3 times in a row would result in 60 total damage over 5 turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 2 more turns, 15 damage turn 3 for 2 more turns, then 15 damage x 2 turns). Here we start to see a clear advantage in action economy to stacking: this is significantly more damage than could be dealt by 3 separate inflictions of the status, and in a significantly shorter amount of time.

This effect only increases with additional stacks: stacking Bleed 6 times in a row would result in 165 total damage over 8 turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 2 more turns, 15 damage turn 3 for 2 more turns, 20 damage turn 4 for 2 more turns, 25 damage turn 5 for 2 more turns, 30 damage turn 6 for 2 more turns, then 30 damage x 2 turns),

Stacking Bleed 9 times in a row would result in 315 total damage over 11 turns (5 damage turn 1, 10 damage turn 2, 15 damage turn 3, 20 damage turn 4, 25 damage turn 5, 30 damage turn 6, 35 damage turn 7, 40 damage turn 8, 45 damage turn 9, and 45 damage x 2 turns).

In contrast to previous examples, there is now an extremely clear incentive to stack Bleed over and over as much as possible!



6) Stacking Damage AND Stacking Duration

Similar to Option 5 except the duration stacks rather than resetting, so not only does the damage/effectiveness increase with each subsequent infliction, so does the duration of the effect.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed while 1 turn remains on an existing Bleed, battler will take 10 damage for 4 more turns (the 1 remaining plus 3 more from the new stack). If Bleed were inflicted *again* on the next turn, the battler will take 15 damage for 6 more turns (the 3 remaining plus 3 more), and so on. Both damage and duration could effectively stack higher and higher with each subsequent use, with no limit, to the point you could get a 50 hp/turn stack that lasts for turn after turn.

Theoretically, stacking Bleed 3 times in a row would result in a whopping 120 total damage over 9 turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 4 more turns, 15 damage turn 3 for 6 more turns, then 15 damage x 6 turns). This, of course, makes stacking the Bleed state vastly more appealing than applying 3 separate Bleed states over 9 turns, applying over 250% more damage in the same time frame with the same number of actions, with the potential for even more stacking with each subsequent use. I'm not even going to bother calculating the effect of stacking Bleed beyond 3 times in a row, the exponential effect is clear. Without a cap, this form of stacking seems so unbalanced, the entire gameplay would simply revolve around spamming bleed.



7) Individually Stacking Damage and Duration

Now things get a little more complicated. This is actually the solution I implemented. This allows damage to stack with each new infliction, but doesn't reset the counter on the original infliction. Each stack's duration is considered individually.

Example: Bleed does 5 damage for 3 turns. If I inflict Bleed again while 1 turn remains on the status effect, the duration shown will increase to 3 turns, and the battler will take 10 damage on the following turn. However, on the remaining 2 turns after that, the battler will only take 5 damage, because the original bleed's 3 turns have expired. The highest the damage could stack by repeatedly using Bleed would be to 15 hp/turn, because since each stack lasts 3 turns individually, the most stacks possible at any given time would also be 3.

Theoretically, stacking Bleed 3 times in a row would result in 45 total damage over 5 total turns (5 damage turn 1 for 2 more turns, 10 damage turn 2 for 2 more turns, 15 damage turn 2 for 2 more turns, then 10 damage turn 4, 5 damage turn 5). This is the same amount of damage that could be achieved from three separate inflictions of the status, but it achieves that damage in half as much time. There is a clear advantage to stacking the status effects, but overall it is not disproportionate to what 3 non-stacked usages of the status would achieve.

Stacking Bleed 6 times in a row would result in 90 total damage over 8 total turns (5 damage turn 1, 10 damage turn 2, 15 damage turn 3, 15 damage turn 4, 15 damage turn 5, 15 damage turn 6, then 10 damage turn 7, then 5 damage turn 8). And so on, with using Bleed 9 times in a row resulting in 180 total damage over 11 turns.

This method incentivizes the player to maintain a stacked bleed to do more damage quickly, but doesn't reward endless bleed spamming in quite so disproportionate and exponential a manner as the other damage stacking methods. The status effect can also never last longer than the 3 turn duration without constant maintenance by the player, offsetting the utility with action costs, but not in a way that actually penalizes the player for stacking, like some of the earlier options.




8) Some combination above with additional hard-coded limit to stacking

Any of the above could be augmented by setting an arbitrary limit in the formula--for instance, damage and/or turn count cannot stack beyond X amount.

Example: Bleed does 5 damage for 3 turns and both damage and turns stack per Option 6, but there is a damage cap at 20 and a turn cap at 5. If I inflict Bleed while 1 turn remains on an existing Bleed, the battler will take 10 damage for 4 more turns. If I inflict Bleed *again* on the next turn, the battler will take 15 damage, but only for the next 5 turns, as that is capped. Inflict Bleed *again*, battler will take 20 damage, for 5 more turns. Inflict Bleed *again*, battler will still only take 20 damage, for 5 more turns, since both are capped.

In theory, this probably plays out similarly to Option 7, but without the "drop-off" effect where the last turns of a stacked status effect gradually do less damage as earlier inflictions of it wear off. But I've spent a good few hours on this post and I can't be arsed to do the example math for this one...



All this discussion ignores another potential wrinkle--the possibility of moves that inflict Bleed statuses that have different damage and durations--like, "Cut" inflicts Bleed of 5 damage for 3 turns, but "Rip Jugular" inflicts Bleed of 15 damage for 2 turns. That introduces an entirely new variable depending on how you treat those--for instance, if Rip Jugular bleed is inflicted on top of an existing Cut bleed, it could become 20 damage for 3 turns, 20 damage for 5 turns, 15 damage for 3 turns, etc., depending on how you treated it...


This ended up being a lot to write up, but in doing so, I think I've confirmed that I like Method 7 the best. It seems like the best middle ground between incentivizing players to stack states without making stacking OP.

What do you all think? Are there other ways to treat status effect and damage over time stacking? Which option(s) do you like and what do you see as pros and cons from a gameplay perspective?


P.S. Stay tuned for my next game, a fan-sequel to "7 Days to Die" called 8 Ways to Bleed.
Very difficult thing to handle in any complex battle system. Game Value, Codeability, Presentation to the player, and exploitability are the primary issues. It also depends on the nature of the condition and game balancing. Sleep, for instance does not make sense to stack in potency, but duration for sure.

Option9) The way some MMOs handle this is to apply only one potency effect, but apply the longest duration. This requires checking to see of the original effect duration exceeds the new one, and only overwriting the old duration if the new duration is longer. This is a safe method but requires a code check you may not be able to execute.

Option10) You could use a blind version: Duration = Half the Old running duration + the New duration. This allows some stacking, but can give weird effects: If a character is poisoned for 60 seconds and a new 10 second poison is applied, duration would reset to 40 seconds.

Option11) You could make it so that a new condition over-writes the old one, but that 50% of damage from the old condition applies instantly before over-write.

Option12) Over-writing conditions. Have some skills give a bonus when over-writing an old condtion.
example: IF target is bleeding, deals 20 damage. NEXT Applies bleeding for 10 seconds.

I like Option 12. Overwriting condtions. Use skill effects to accomplish stacking bonuses. It is more customizable.
Limbus Company goes further, splitting an effect between POTENCY and COUNT

Potency is the strength of the effect, with a lot of status effects only really being useful at 3-5 stacks or more.

Count is the duration of the effect, decreasing by 1 every round until the effect expires.

Abilities that only inflict Potency will inflict a Count of 1 if the target did not already have the effect, but otherwise will not increase Count. The reverse applies to inflicting Count. This makes synergies and building your entire team to do the same element/ailment VERY important.

Original thread: https://forums.rpgmakerweb.com/threads/stacking-status-effects-and-damage-over-time-8-ways-to-bleed.138470/