YEP.95 – Class Base Parameters

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

You can grab the plugin here:
English Dropbox
English Mirror

For those who don’t like the way base parameters are determined by the editor, you can use your own formulas to determine the parameter growth for each class using this plugin. This plugin also allows you to adjust the exp needed for each level per class.


Introduction


This plugin requires YEP_BaseParamControl. Make sure this plugin is located under YEP_BaseParamControl in the plugin list.

For those who don’t like the way base parameters are determined by the editor, you can use your own formulas to determine the parameter growth for each class using this plugin. This plugin also allows you to adjust the exp needed for each level per class.


Lunatic Mode – Custom Class Parameters


If your formulas are short and simple, you can use this notetag to cover the entire formula list for all of the base parameters:

Class Notetag:

<Custom Class Parameters>
maxhp = level * 30 + 300;
maxmp = level * 20 + 150;
atk = level * 15 + 15;
def = level * 11 + 16;
mat = level * 12 + 14;
mdf = level * 10 + 13;
agi = level * 14 + 15;
luk = level * 13 + 12;
exp = level * 100;
</Custom Class Parameters>
The ‘maxhp’, ‘maxmp’, ‘atk’, ‘def’, ‘mat’, ‘mdf’, ‘agi’, ‘luk’, and ‘exp’. variables each refer to their own individual stats. The ‘level’ variable refers to the actor’s current level. The formula can be made any way you like as long as it returns a legal number.
* Note: The ‘exp’ stat here refers to the amount of exp needed to reach the next level.


Lunatic Mode – Detailed Custom Parameter Formulas


For those who wish to put a bit more detail in calculating the formula for each stat, you can use the following notetag setup:

Class Notetags:

<Custom Param Formula>
if (this.name() === ‘Harold’) {
value = level * 30 + 300;
} else {
value = level * 25 + 250;
}
</Custom Param Formula>
Replace ‘Param’ with ‘maxhp’, ‘maxmp’, ‘atk’, ‘def’, ‘mat’, ‘mdf’, ‘agi’, ‘luk’, or ‘exp’. The ‘value’ variable is the final result that’s returned to count as the base class parameter. The ‘level’ variable refers to the actor’s current level. The formula can be made any way you like as long as it returns a legal number.
* Note: The ‘exp’ stat here refers to the amount of exp needed to reach the next level.


Happy RPG Making!


Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks, Plugins, and Lunatic Pack ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Plugin Suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!