diff --git a/repo/js/AutoArtifactsPro/main.js b/repo/js/AutoArtifactsPro/main.js index 9924f144..2282cc6e 100644 --- a/repo/js/AutoArtifactsPro/main.js +++ b/repo/js/AutoArtifactsPro/main.js @@ -311,8 +311,10 @@ const DEFAULT_FIGHT_TIMEOUT_SECONDS = 120; if (runnedToday) { break artifacts; } + // 开始运行狗粮路线 let runArtifactsResult = true; + runArtifactsResult = await runArtifactsPaths(runRouteA, grindPartyName, settings.useABE); const result2 = await decomposeArtifacts(settings.keep4Star, settings.doDecompose); // 计算 mora 和 artifactExperience 的差值 @@ -405,11 +407,12 @@ async function runArtifactsPaths(runRouteA, grindPartyName, useABE) { // 定义文件夹路径 const folderName = `${runningRoute}路线`; + let ArtifactsPath = "abeArtifactsPath"; + if (!useABE) { - const ArtifactsPath = "ArtifactsPath"; + ArtifactsPath = "ArtifactsPath"; log.info("使用新路线中"); } else { - const ArtifactsPath = "abeArtifactsPath"; log.warn("使用老abe路线中"); } diff --git a/repo/js/AutoArtifactsPro/manifest.json b/repo/js/AutoArtifactsPro/manifest.json index eb6fb59c..dd931d00 100644 --- a/repo/js/AutoArtifactsPro/manifest.json +++ b/repo/js/AutoArtifactsPro/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "自动狗粮重制版", - "version": "1.4.1", + "version": "1.4.2", "tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"], "description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称", "authors": [