[solved] Fix for Yanfly's "Extra Param Formulas"

Link to the script

There may already be a simple way to do this, but I'm not sure, so I thought I'd ask.

As it is, if I enter anything other than 0 in HRG and MRG, my characters (and enemies!) have regen constantly on. I would like to use a custom formula for regen, but have it only apply if the character is in the "Regen" or "MP Regen" state.

I've moved this thread to RGSSx Script Support. Thank you.

yanfly's scripts have been tested and worked by literally thousands of users, it is more likely that this is either a misunderstanding, an incompatibility with another script you use or a mistake in your input.

In this case it looks like a misunderstanding - the formula in that script are intended to replace actor values, and actor values are always permanent.
Temporary effects need to be bestowed by states, and that script does nothing for states.
Sorry if I didn't properly communicate my intention. I wanted to make a request for a modification to the script that does as I said above -- allow the Regen state to call a formula rather than a flat value.
That's in the script by default. Look for the line:

:hrg_formula =>

Set your formula there for HP Regen. There's a similar one for MP Regen.
@Aoi Ninami
please explain what exactly you mean by "regen state" - if you're talking about a regular state from the database, then you simply cannot use this script, not even with a modification - you need to use a different script.

I sugges next time you'll link to the real website instead of an alternative download as that would give you the description of the script as well as its code:
https://yanflychannel.wordpress.com/2012/02/26/yea-extra-param-formulas/

And if you're indeed talking about regular states, you'll need yanfly's lunatic states or something similiar instead:
https://yanflychannel.wordpress.com/rmvxa/battle-scripts/lunatic-states/
Thank you! It looks like Lunatic States will indeed do what I want. Sorry for the confusion.

Original thread: https://forums.rpgmakerweb.com/threads/solved-fix-for-yanflys-extra-param-formulas.79874/