From 50faef4e655d1ffa88450bef1a0dac4e4f39bc52 Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Sat, 8 Oct 2022 19:30:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E7=AA=81=E7=A0=B4=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E5=AD=97=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/xiaoyao_image.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/xiaoyao_image.js b/apps/xiaoyao_image.js index 10b8198..e9a74c7 100644 --- a/apps/xiaoyao_image.js +++ b/apps/xiaoyao_image.js @@ -17,7 +17,7 @@ const _path = process.cwd(); const __dirname = path.resolve(); const list = ["wuqi_tujian", "shiwu_tujian", "yuanmo_tujian", "mijin_tujian", "shengyiwu_tujian", "daoju_tujian"] -const reglist = ["(#|专武|武器|图鉴|突破)", "(#|食物|特殊料理|特色|料理|食材|图鉴)", "(#|原魔|怪物|图鉴|信息)", "(#|秘境|信息|图鉴)", "(#|圣遗物|图鉴)", +const reglist = ["(#|专武|武器|图鉴)", "(#|食物|特殊料理|特色|料理|食材|图鉴)", "(#|原魔|怪物|图鉴|信息)", "(#|秘境|信息|图鉴)", "(#|圣遗物|图鉴)", "(#|图鉴|道具)" ] export async function AtlasAlias(e) { @@ -72,7 +72,7 @@ const filePath = async function(e) { if(index!=data.length-1){ msg=e.msg.replace(new RegExp(reglist[index], "g"), ""); }else { - msg=e.msg.replace(/#|#|信息|图鉴|命座|天赋|突破/g, ""); + msg=e.msg.replace(/#|#|信息|图鉴|命座|天赋/g, ""); } let path = `${_path}/plugins/xiaoyao-cvs-plugin/resources/xiaoyao-plus/${val}/${msg}.png` if (fs.existsSync(path)) {