How to prevent debuffs from stacking?

Maybe I'm wrong, but in VX Ace it appears that the same type of debuff can stack to a point on a single enemy.  For instance, armor break.  The player can stack the debuff on the enemy, so they start taking a massive amount of damage.  Is there a way to prevent stacking, or to reduce how much the debuff even does?

Thanks!
Go to the script editor

Game_Battler - line 225 (and line 231)

Change the == 2 to == 1
Theo's answer does exactly what you asked.

If you don't want them to stack, though, you're better off using States, since they offer more flexibility and (unless I'm mistaken) the only "disadvantage" they have versus buffs/debuffs is that they don't stack!
Yeah, I tend to use states as well. In addition to no stacking, they also let you make this "debuff" whatever value you want. E.g. think a 25% debuff on Atk is too much? Simply make it a 15% or a 20% reduction. You can do so much stuff with states.
Honestly, I never go with buff. I usually use states to increase stats.

Because it's more like VX did and I got used to it.
I never knew that.  States don't stack?  So if one state gives -20% to ATK and the other gives -10%, what does RPG Maker do?
Same states doesn't stack.. Like two State #4 wouldn't stack


I never really used Buffs/Debuffs too as they have fixed values (right?).
I didn't even think about using states instead of debuffs.  I think I rather go that route because I hate messing with scripts unless I really have to. 

Thanks!
I have "marked solved" the actual post that DID answer the question. Please be more careful about using this in future. Notice that the post you "mark solved" gets duplicated to the top of the thread - so anybody with a similar question can immediately see what the correct answer is, without having to scour through potentially many incorrect responses. Marking a "that other post up there is the correct answer" as the one that solved it defeats the purpose of having the button in the first place.
The difference of using buff and states is if you buff your character and enemy debuff your character, the buff will removed but not added debuff. Unlike state where buff and debuff could exist together

Original thread: https://forums.rpgmakerweb.com/threads/how-to-prevent-debuffs-from-stacking.35310/