Does anyone have a list of "functions" for the custom formula?

By "functions", I mean things that check if a state is applied to a battler, for example.

I suppose I'll clarify what I'm trying to do as an example:

I'm trying to make it so that if a certain state is applied to a certain type of actor/enemy (not anyone else), that battler's AGI parameter will go up.
What do you mean by "a certain type of actor/enemy"?
What do you mean by "a certain type of actor/enemy"?
I'm planning on making only specific battlers "react" to this state.

I guess I should illustrate this with a more concrete example.

The state I want to make is called "Snowstorm". When Snowstorm is in effect, a battler's AGI will go up if it has an affinity with the Ice element.
So not by enemy id or actor id then.


There really isn't a "list" available, as far as I know. You can use a. and b. with any of the methods in Game_Battler and Game_BattlerBase.


You'd probably be looking at something like this:

Code:
b.add_param(x, y) if b.element_rate(4) < z; (damage formula here)
where x is 6 (for AGI), y is how much you want to increase it by, and z is the element rate for ice (0.5 means 50%)
Cool! Your formula worked! Thanks!
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/does-anyone-have-a-list-of-functions-for-the-custom-formula.31105/