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)) {