I'm using MKR_LevelUpMessageEx.js to show the default params levelup. But i use it with YEP_LevelUpGrowthEffects.
My problem is this part of the code
it's only displaying the parameter at level 1 and level 2. but since im using YEP levelup growth, for example each level up is +10 HP. I setup the class param HP to be 100 from level 1 to 99 Flat. the plugin does not consider the final param at current level. so after 2 levelup the new HP should be 120, but the message still show 100 ⇒ 100 and not 100 ⇒ 120
well for better i want it to be 100 (+20). I tried replacing this.currentClass() with this.currentActor() and just got null.
My problem is this part of the code
JavaScript:
_Game_Actor_displayLevelUp.apply(this, arguments);
// ステータスアップメッセージの構築
let text = "";
let cnt = this.currentClass().params.length;
let j = 0;
for(let i = 0; i < cnt; i++) {
if(viewParams[i]) {
let paramName = TextManager.param(i);
let prevParam = this.currentClass().params[i][this._level - 1];
let currentParam = this.currentClass().params[i][this._level];
text += "%1 %2 ⇒ %3".format(paramName, prevParam, currentParam);
if(j < cnt - 1) {
if(j % 2) {
text += "\n";
} else {
text += " ";
}
}
j++;
}
}
well for better i want it to be 100 (+20). I tried replacing this.currentClass() with this.currentActor() and just got null.