(要 YEP_BaseParamControl)クラスパラメータを大きくするための式を使うことができるプラグイン – YEP_X_ClassBaseParam.js

タイトル
(Requires YEP_BaseParamControl) Allow you to useformulas for class parameter growth.
作者名
ヘルプ
============================================================================
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 = level30 + 300;
maxmp = level20 + 150;
atk = level15 + 15;
def = level11 + 16;
mat = level12 + 14;
mdf = level10 + 13;
agi = level14 + 15;
luk = level13 + 12;
exp = level100;
</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 = level30 + 300;
} else {
value = level25 + 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.

============================================================================
Changelog
============================================================================

Version 1.02:
- Fixed a bug that caused the <Custom Param Formula> notetag to not work.

Version 1.01:
- Fixed a bug that caused errors on loading up a game with the EXP formula.

Version 1.00:
- Finished Plugin!
パラメータ
( なし )
ライセンス表記

紹介ページ https://github.com/suppayami/yami-engine-delta/blob/master/demo/js/plugins/YEP_X_ClassBaseParam.js