Project1

标题: 请问如何去掉菜单的等级? [打印本页]

作者: Ichiyuko_    时间: 2018-2-12 23:35
标题: 请问如何去掉菜单的等级?
本帖最后由 Ichiyuko_ 于 2018-2-13 12:00 编辑

如何去掉菜单里显示的等级?“LV”可以在用语里面去掉,但是等级的数字没办法在设定里删掉。
作者: 魔法丶小肉包    时间: 2018-2-13 12:17
开一个新插件,整个默认菜单里的显示等级的地方都去掉了

Window_MenuStatus.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.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);
};
Window_SkillStatus.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.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);
};
Window_Status.prototype.drawBasicInfo = function(x, y) {
    var lineHeight = this.lineHeight();
    this.drawActorIcons(this._actor, x, y + lineHeight * 1);
    this.drawActorHp(this._actor, x, y + lineHeight * 2);
    this.drawActorMp(this._actor, x, y + lineHeight * 3);
};
作者: Ichiyuko_    时间: 2018-2-13 17:22
魔法丶小肉包 发表于 2018-2-13 12:17
开一个新插件,整个默认菜单里的显示等级的地方都去掉了

Window_MenuStatus.prototype.drawActorSimpleSta ...

解决了!谢谢ww




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1