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

Status
Not open for further replies.

aliensalmon

Veteran
Veteran
Joined
Mar 17, 2013
Messages
111
Reaction score
13
First Language
English
Primarily Uses
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
What do you mean by "a certain type of actor/enemy"?
 

aliensalmon

Veteran
Veteran
Joined
Mar 17, 2013
Messages
111
Reaction score
13
First Language
English
Primarily Uses
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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%)
 
Last edited by a moderator:

aliensalmon

Veteran
Veteran
Joined
Mar 17, 2013
Messages
111
Reaction score
13
First Language
English
Primarily Uses
Cool! Your formula worked! Thanks!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:

Forum statistics

Threads
105,854
Messages
1,017,004
Members
137,562
Latest member
tamedeathman
Top