Debuffs and Buffs without limit of turns

Hello everyone, I need help with something.

I would like to make the Buffs and Debuffs last until the combat ends in my game. (Thus give more importance to attacks that remove them). The problem is that I haven't found a way to do it.
So, I can think of two ways to do this, and neither are very scientific.
#1: Make them last an obscene amount of turns, so no one would realistically ever see them run out.
#2: Use states instead. You can remove them after battle in the settings.
So, I can think of two ways to do this, and neither are very scientific.
#1: Make them last an obscene amount of turns, so no one would realistically ever see them run out.
#2: Use states instead. You can remove them after battle in the settings.
The second alternative could not be since they will not be able to accumulate. It would have to be the first, it would just have to make it difficult to see how many turns the Buff is going to last.
I don't remember there being a way for the player to see how long buffs will last, although if you're using a plugin, that could change.

You could also look for a plugin that lets you stack states, although I'm not sure if they have any for MV.
Only solution I could offer is to make buffs/debuffs last like, 99 turns or to overwrite the length of buffs in the base code.

(I'm writing because I plan to do this too)
Here's my solution
Code:
Game_BattlerBase.prototype.updateBuffTurns = function() {};
Save the above text as a .js file and install as a plugin. Now your buffs have indeterminite length!

Original thread: https://forums.rpgmakerweb.com/threads/debuffs-and-buffs-without-limit-of-turns.164208/