| 赞 | 62 |
| VIP | |
| 好人卡 | |
| 积分 | 39 |
| 经验 | |
| 最后登录 | 2026-9-12 |
| 在线时间 | 444 小时 |
- 梦石
- 0
- 星屑
- 3938
- 在线时间
- 444 小时
- 注册时间
- 2019-3-3
- 回帖
- 80
|
发表于 2019-7-26 21:47:39
|
显示全部楼层
本帖最后由 多卡多卡 于 2019-7-26 21:54 编辑
[pre lang="javascript"]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);
};[/pre]
效果如图:
|
|