| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2020-5-20 |
| 在线时间 | 32 小时 |
- 梦石
- 0
- 星屑
- 149
- 在线时间
- 32 小时
- 注册时间
- 2015-12-30
- 回帖
- 16
|
发表于 2018-2-10 19:26:59
|
显示全部楼层
在rpg_windows.js裡的drawActorSimpleStatus裡,自己可以寫一個小插件改長度
[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]
長度應該是看drawActorHp和drawActorMp裡的width2
自己可以翻翻看 |
|