//=============================================================================
// 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');
}
};
})();