Changing Buff modifiers

I'm sure it's fairly obvious what I'm looking for from the title. Basically, I'm looking for a way to change the formula for how buffs modify your parameters, probably about a 50% increase per stack (ex. first apply 150%, second 200%) so I can do something similar to how the megami tensei games handle how important their buffs and debuffs are. The reason I'm looking for a plugin to do this is because from my research, I couldn't find anything that does this (there are things for VX Ace but not MV). I do use the Yanfly Buff and states core, which I thought would do something similar but changing the formula makes your stats skyrocket. I'm also not entirely sure if a plugin is actually necessary for this, but it seemed likely so that's why I'm posting it here.

Thanks,
Spak
You should be able to do this with a Custom Apply Effect and state counters with Buffs & States Core.

In fact not even that, you should be able to achieve this using the "Buff Formula" configuration item in the plugin.
Right. Just look in the Plugin Parameters in Yanfly's Buffs & States Core (inside your Plugin Editor; it's not done with notetags).
Alright, so I've gotten everything related to the buffs working, but I'm facing an issue with setting a minimum and a max to the counters for the states. I think I might be putting the function in the wrong section. Here's the code I have right now:
<Custom Apply Effect>
user.addStateCounter(17, 1)
</Custom Apply Effect>
<Custom Turn Start Effect>
user.addStateCounter(17, 1)
user.clampStateCounter(17, 1, 2) <--- this is the function that is supposed to set the max.
</Custom Turn Start Effect>

The issue is that it's not actually setting a max and the max that's supposed to be set is being exceeded. When I put the code in the Apply Effect section I get an error when I attack.
You don't need to use that. Just look up the "Buff Formula" parameter in the plugin config and set it to

Code:
this._buffs[paramId] * 0.50 + 1.0

That'll add 50% to the stat for each stack.
Oh I see what I was doing wrong with that formula originally now. Thanks, everything works perfectly now.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/changing-buff-modifiers.123396/