diff --git a/repo/js/AutoArtifactsPro/README.md b/repo/js/AutoArtifactsPro/README.md index a63fd016..d88ba560 100644 --- a/repo/js/AutoArtifactsPro/README.md +++ b/repo/js/AutoArtifactsPro/README.md @@ -16,7 +16,7 @@ 使用即表示您已阅读并同意上述条款。 -**Last Updated:** 2025-06-26 +**Last Updated:** 2025-06-29 --- @@ -129,6 +129,8 @@ 3. 在执行过程中,确保游戏窗口保持在前台,避免干扰。 ## 更新日志 +### 1.4.9(2025.06.29) +1.优化了关于四星狗粮的处理 ### 1.4.8(2025.06.28) 1.替换掉富A 508号路径 ### 1.4.7(2025.06.26) diff --git a/repo/js/AutoArtifactsPro/main.js b/repo/js/AutoArtifactsPro/main.js index c29f9bc7..e2daf018 100644 --- a/repo/js/AutoArtifactsPro/main.js +++ b/repo/js/AutoArtifactsPro/main.js @@ -1178,14 +1178,14 @@ async function decomposeArtifacts(keep4Star, doDecompose) { if (settings.keep4Star) { log.info(`保留的四星数量: ${fourStarNum}`); } - let resultExperience = resinExperience + (settings.keep4Star ? 2520 * fourStarNum : 0); + let resultExperience = resinExperience; if (resultExperience === 0) { resultExperience = initialValue; } - log.info(`计入四星的经验: ${resultExperience}`); const result = { mora: recognizedText, // 将 recognizedText 赋值给 mora - artifactExperience: resultExperience + artifactExperience: resultExperience, + fourStarNum: fourStarNum }; await genshin.returnMainUi(); return result; diff --git a/repo/js/AutoArtifactsPro/manifest.json b/repo/js/AutoArtifactsPro/manifest.json index 21a8cf54..f7c33480 100644 --- a/repo/js/AutoArtifactsPro/manifest.json +++ b/repo/js/AutoArtifactsPro/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "自动狗粮重制版", - "version": "1.4.8", + "version": "1.4.9", "tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"], "description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称", "authors": [