赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 9 |
经验 | 0 |
最后登录 | 2024-5-14 |
在线时间 | 134 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 854
- 在线时间
- 134 小时
- 注册时间
- 2022-2-8
- 帖子
- 16
|
插件并没有提供这些设置,直接把插件代码这一大段替换成下面的,就可以了,只不过插件也不能在任务过程中更改任务介绍(任务描述)
Window_TaskInfo.prototype.drawTaskConditions = function(x) {
const task = this._currentTask;
const lh = this.contents.fontSize + 8;
const size = this.limitIconSize();
let data = task.currentConditionData();
if (data) {
let y = this._areaData[1] + lh + 2;
let text = data.cod.listText();
let text2 = data.cod.numText();
let tw = this.textWidth(text2);
let icon = parseInt(parameters[(data.cod.isSatisfy() ? 'cmp' : 'imp')+'Icon']) || 0;
icon > 0 && this.drawIcon(icon, x, y);
this.drawTextEx(text, x+size+8, y);
this.changeTextColor(data.cod.numTextColor());
this.drawText(data.cod.numText(), this.contents.width - tw - 8, y, tw);
}
}; |
|