| 赞 | 37 |
| VIP | |
| 好人卡 | |
| 积分 | 34 |
| 经验 | |
| 最后登录 | 2026-11-21 |
| 在线时间 | 786 小时 |
- 梦石
- 0
- 星屑
- 3359
- 在线时间
- 786 小时
- 注册时间
- 2023-5-18
- 回帖
- 154
|
发表于 2024-3-10 15:29:50
|
显示全部楼层
可能是这个
- Window_Base.prototype.convertEscapeCharacters = function(text) {
- text = text.replace(/\\/g, '\x1b');
- text = text.replace(/\x1b\x1b/g, '\\');
- text = text.replace(/\x1bV\[(\d+)\]/gi, function() {
- return $gameVariables.value(parseInt(arguments[1]));
- }.bind(this));
- text = text.replace(/\x1bV\[(\d+)\]/gi, function() {
- return $gameVariables.value(parseInt(arguments[1]));
- }.bind(this));
- text = text.replace(/\x1bN\[(\d+)\]/gi, function() {
- return this.actorName(parseInt(arguments[1]));
- }.bind(this));
- text = text.replace(/\x1bP\[(\d+)\]/gi, function() {
- return this.partyMemberName(parseInt(arguments[1]));
- }.bind(this));
- text = text.replace(/\x1bG/gi, TextManager.currencyUnit);
- return text;
- };
复制代码
|
|