烁灵 发表于 2024-6-16 18:42:11

【凑数】菜单隐藏HPMP

……
隐藏菜单中的血条蓝条
也许可以作为新手入手写脚本的范例
效果:





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



页: [1]
查看完整版本: 【凑数】菜单隐藏HPMP