|
……
隐藏菜单中的血条蓝条
也许可以作为新手入手写脚本的范例
效果:
- (() => {
- Window_Base.prototype.drawActorSimpleStatus = function(actor, x, y, width) {
- var lineHeight = this.lineHeight();
- var x2 = x + 180;
- var width2 = Math.min(200, width - 180 - this.textPadding());
- this.drawActorName(actor, x, y);
- // this.drawActorLevel(actor, x, y + lineHeight * 1);
- this.drawActorIcons(actor, x, y + lineHeight * 2);
- this.drawActorClass(actor, x2, y);
- //this.drawActorHp(actor, x2, y + lineHeight * 1, width2);
- // this.drawActorMp(actor, x2, y + lineHeight * 2, width2);
- };
- })()
复制代码
|
|