- Joined
- Jun 22, 2017
- Messages
- 29
- Reaction score
- 1
- First Language
- German
- Primarily Uses
- RMMV
Hello everbody,
as described in the title id like to add the stats CRIT and HIT to the Status window.
Right now the window looks like this:

I added a pugin to show only the stats i want to be shown:
what i want to achieve is that the stats for CRIT chance and HIT chance are shown below the other stats ( marked green in the screenshot ).
as described in the title id like to add the stats CRIT and HIT to the Status window.
Right now the window looks like this:

I added a pugin to show only the stats i want to be shown:
Window_Status.prototype.drawParameters = function(x, y) {
var lineHeight = this.lineHeight();
var paramsToDraw = [ 2, 4, 6, 3];
for (var i = 0; i < paramsToDraw.length; i++) {
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramsToDraw), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramsToDraw), x + 160, y2, 60, 'right');
}
};
var lineHeight = this.lineHeight();
var paramsToDraw = [ 2, 4, 6, 3];
for (var i = 0; i < paramsToDraw.length; i++) {
var y2 = y + lineHeight * i;
this.changeTextColor(this.systemColor());
this.drawText(TextManager.param(paramsToDraw), x, y2, 160);
this.resetTextColor();
this.drawText(this._actor.param(paramsToDraw), x + 160, y2, 60, 'right');
}
};
what i want to achieve is that the stats for CRIT chance and HIT chance are shown below the other stats ( marked green in the screenshot ).
Last edited:

