Hello everyone,
I'm working on a custom buff and debuff system using the YEP Buffs & States Core plugin in RPG Maker MV. I want to implement a new scaling formula for buffs and debuffs (similar to pokemon, but in this case, stacking to 4 instead of 6) that follows this multiplier scale:
+4 3.00x (300/100)+3 2.50x (250/100)+2 2.00x (200/100)+1 1.50x (150/100)0 1.00x (100/100)-1 0.66x (66/100)-2 0.50x (50/100)-3 0.40x (40/100)-4 0.33x (33/100)
The default formula in the plugin parameters is:
this._buffs[paramId] * 0.25 + 1.0
However, this does not fully achieve the scaling I need. I found an alternative formula in this thread:
forums.rpgmakerweb.com
But I don't know how to apply it.
I would like to know:
I'm working on a custom buff and debuff system using the YEP Buffs & States Core plugin in RPG Maker MV. I want to implement a new scaling formula for buffs and debuffs (similar to pokemon, but in this case, stacking to 4 instead of 6) that follows this multiplier scale:
+4 3.00x (300/100)+3 2.50x (250/100)+2 2.00x (200/100)+1 1.50x (150/100)0 1.00x (100/100)-1 0.66x (66/100)-2 0.50x (50/100)-3 0.40x (40/100)-4 0.33x (33/100)
The default formula in the plugin parameters is:
this._buffs[paramId] * 0.25 + 1.0
However, this does not fully achieve the scaling I need. I found an alternative formula in this thread:
How to create stacking buffs/debuffs similar to Pokemon?
I want to be able to make stacking buffs/defbuffs that go by Pokemon's rule. In Pokemon, you can increase or decrease a specific stat up to 6 times (stages). Something like: +1 = 150% stat +2 = 200% stat +3 = 250% stat or -1 = 66% stat -2 = 50% stat -3 = 40% stat I'm...
forums.rpgmakerweb.com
But I don't know how to apply it.
JavaScript:
if (this._buffs[paramId] > 0) {return (this._buffs[paramId] + 2) / 2;} else {return 2 / (2 - this._buffs[paramId]);}
I would like to know:
- Can I simply replace the formula in the plugin parameters with this new one?
- Is there a Lunatic Mode notetag or another method in YEP Buffs & States Core that allows me to apply this formula correctly?
- If not, what else could I do?