How to alter the amount of times a stat can increase/decrease

Hey everyone, as you know in rpg maker when a character uses a move that either increases/decreases a party member/enemies stats during battle. The max times that target can be effected by a particular stat gain is by two levels. How could I alter this so that the maximum amount is one instead of two.Thanks 🙂

-JAD
In Game_Battler, change the buff_max? and debuff_max? functions.
Yes! Thank you 🙂
Please do not post the same question multiple times in different forums. If you post in the wrong place, report it and ask a mod to move it. If you post it and don't see it straight away, it's because it requires moderator approval - don't go and post it somewhere else hoping to get around the requirement for moderator approval.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-alter-the-amount-of-times-a-stat-can-increase-decrease.39128/