Removing luck from my game

I have already manually removed it from my formulas, but it still appears in the shop menu and when my characters level up.

Is there a way to remove it from appearing in any instance?



Thank you in advance,

GEA
Not sure. But if all else fails, try changing all luck stats to 0, that way it wont have any effect in game.
It requires a bit of JavaScript knowledge, and I just wrote a quick plugin that removes it from status menus, but you say that it appears when characters level up, which isn't a part of native RMMV. You would need to modify your plugins to allow for you to skip the last stat when rendering out to the screen. This code might do that, or it might not do anything if the plugins have their own implementation of drawParameters.

Spoiler: MOON_RemoveLuck.js
//=============================================================================
// MOON_RemoveLuck.js
//=============================================================================

/*:
* @plugindesc Window_Status does not draw luck parameter.
* @author Anton Uklein @ Moon Moon Games
* *
* @Help Explanation: drawParameters runs through the 6 stats (barring MHP and MMP),
but changing the for loop to go for only 5 makes it ignore Luck.
This is designed to work with vanilla RMMV and may or may not
work with other plugins.
*
* No changelog is available.
*
* This plugin is licensed under CC0 - Public Domain. As much as is legally possible, you are free to build upon, enhance, and reuse this work as you see fit without any restrictions. No rights reserved.
*/


(function() {


Window_Status.prototype.drawParameters = function(x, y) {
var lineHeight = this.lineHeight();
for (var i = 0; i < 5; i++) { //Note: Original file was 'i < 6'
var paramId = i + 2;
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramId), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramId), x + 160, y2, 60, 'right');
}
};

})();
Only with a Plug-in or coding.

I've moved this thread to Plug-In Requests. Thank you.

It requires a bit of JavaScript knowledge, and I just wrote a quick plugin that removes it from status menus, but you say that it appears when characters level up, which isn't a part of native RMMV. You would need to modify your plugins to allow for you to skip the last stat when rendering out to the screen. This code might do that, or it might not do anything if the plugins have their own implementation of drawParameters.

Spoiler: Code
//=============================================================================
// MOON_RemoveLuck.js
//=============================================================================

/*:
* @plugindesc Window_Status does not draw luck parameter.
* @author Moon Moon Games
* *
* @Help Explanation: drawParameters runs through the 6 stats (barring MHP and MMP),
but changing the for loop to go for only 5 makes it ignore Luck.
This is designed to work with vanilla RMMV and may or may not
work with other plugins.
*
*/


(function() {


Window_Status.prototype.drawParameters = function(x, y) {
var lineHeight = this.lineHeight();
for (var i = 0; i < 5; i++) { //Note: Original file was 'i < 6'
var paramId = i + 2;
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramId), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramId), x + 160, y2, 60, 'right');
}
};

})();


Thanks Moonie, will give it a go tonight. You are right about the leveling up scene. I think I know how to tackle that now that I see what you have written here.
Finally got a chance to use your code. While my plugins stopped it from working, you taught me how to manipulate the items that I needed to.

So thank you Moonie.

Original thread: https://forums.rpgmakerweb.com/threads/removing-luck-from-my-game.86197/