Buffs/Debuffs that don't stack with one another.

I don't know how to title this but this is basically what I'm going for.

I wanna have an easy way to have buffs/debuffs that:
1. Don't stack if they come from the same spell origin.
2. Don't overlay turn durations if they come from different spell origins (but same buff/debuff type).
3. Locked to specific amounts, not following the Maker default or the Yanfly Buffs and States plugin.

For example: I want a spell that buffs by 50% for 2 turns. If I cast this spell again, it would instead refresh its duration. If I cast a different spell that applies, let's say, 25% for 4 turns, it would technically stack with the other buff but would have its separate duration. I also want to have the freedom to make buffs that can go 15%, 45%, etc. Can anyone help me?
Use states that buff/debuff the stats.
most of what you want is simple to do by using different states rather than buffs. A state can do the same but never stacks, and if you have different states with the same effect they won't interact and only refresh if exactly the same state is recast.
most of what you want is simple to do by using different states rather than buffs. A state can do the same but never stacks, and if you have different states with the same effect they won't interact and only refresh if exactly the same state is recast.
I might try to do that but I just to be sure, will a 50% ATK buff from one spell origin and a 25% ATK buff from another result in a 75% buff for example?

I'm mainly asking for how to do this the easy way. Like I know I can try States but I don't know if making a new state per new effect would be time and space efficient. I will still consider it though if there's no other way.
Okay, so in the case that I just stated above, I can simply make a "50% ATK buff" as one state and "25% ATK buff" with another state. Each state is applied by a different spell. Now do they still stack as 75% of one overrides the other?
I might try to do that but I just to be sure, will a 50% ATK buff from one spell origin and a 25% ATK buff from another result in a 75% buff for example?
That depends on the exact parameter you're using.
Please take a good look at the different traits and especially the mathematical sign in front of them.

Some parameters have a plus sign, like +50% HIT. Those are added and substracted with a base of 0% and work exactly like you want.

Other parameters have a multiplication sign like Attack. It is absolutely impossible to enter a +50%, you can only give *50% (which halves the attack) or *150% (which gives one and a half times the attack.
So as simple mathematics say, *150% *125% is a total of *187.5%
They stack, but not in the way you want.

To change that you would have to use plugins, and it will be more problematic with additive values if you go into debuffs, especially if your substraction would go into the negative (the parameters are multiplictive exactly to prevent the numbers from becoming below zero as that would cause problems with some mathematics)
That depends on the exact parameter you're using.
Please take a good look at the different traits and especially the mathematical sign in front of them.

Some parameters have a plus sign, like +50% HIT. Those are added and substracted with a base of 0% and work exactly like you want.

Other parameters have a multiplication sign like Attack. It is absolutely impossible to enter a +50%, you can only give *50% (which halves the attack) or *150% (which gives one and a half times the attack.
So as simple mathematics say, *150% *125% is a total of *187.5%
They stack, but not in the way you want.

To change that you would have to use plugins, and it will be more problematic with additive values if you go into debuffs, especially if your substraction would go into the negative (the parameters are multiplictive exactly to prevent the numbers from becoming below zero as that would cause problems with some mathematics)
Yes yes, I am familiar with all of this (I've used MV for a year now). Though I only remember using the % stat params on items and not really on states. I know exactly that 70% means -30% and 130% means +30%.

But you seem to answer my question so... I'll probably take what I get. I'll just experiment ways to apply buffs without making them very complex and off. I am working on small-digit numbers anyway (1 and 2-digits to be precise).

@Vergel_Nikolai , please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/buffs-debuffs-that-dont-stack-with-one-another.133620/