From 92fb689116f849cda168576c9271e80ee9e662b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E4=BA=91?= Date: Mon, 28 Apr 2025 19:43:11 +0800 Subject: [PATCH] Update build.js --- build/build.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/build.js b/build/build.js index 5fbfc4ef..143b3acb 100644 --- a/build/build.js +++ b/build/build.js @@ -85,6 +85,7 @@ function extractInfoFromPathingFile(filePath, parentFolders) { const hasAnemoCollect = contentObj.positions.some(pos => pos.action === 'anemo_collect'); const hasElectroCollect = contentObj.positions.some(pos => pos.action === 'electro_collect'); const hasUpDownGrabLeaf = contentObj.positions.some(pos => pos.action === 'up_down_grab_leaf'); + const hasFight = contentObj.positions.some(pos => pos.action === 'fight'); if (hasNahidaCollect) { tags.push('纳西妲'); } @@ -100,6 +101,9 @@ function extractInfoFromPathingFile(filePath, parentFolders) { if (hasUpDownGrabLeaf) { tags.push('四叶印'); } + if(hasFight){ + tags.push('战斗'); + } } return {