Compare commits

..

2 Commits

Author SHA1 Message Date
MisakaAldrich
f52cdf7457 update repo.json
Some checks failed
Build repo.json / build (18.x) (push) Has been cancelled
Build repo.json / upload (push) Has been cancelled
2025-06-22 23:55:33 +00:00
mno
327e8e3773 js:自动狗粮pro (#1173) 2025-06-23 07:55:15 +08:00
3 changed files with 10 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
{ {
"time": "20250623014039", "time": "20250623075531",
"url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip", "url": "https://github.com/babalae/bettergi-scripts-list/archive/refs/heads/main.zip",
"file": "repo.json", "file": "repo.json",
"indexes": [ "indexes": [
@@ -54066,8 +54066,8 @@
{ {
"name": "AutoArtifactsPro", "name": "AutoArtifactsPro",
"type": "directory", "type": "directory",
"hash": "a305bd417ded36dc0f0c8082f34c30ad0e71c890", "hash": "52e9f5a38ab2b4c18016eac90731ceca945e5e36",
"version": "1.4.1", "version": "1.4.2",
"author": "mno", "author": "mno",
"description": "自动狗粮重制版~|~通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称", "description": "自动狗粮重制版~|~通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称",
"tags": [ "tags": [
@@ -54078,7 +54078,7 @@
"兽肉", "兽肉",
"狗粮" "狗粮"
], ],
"lastUpdated": "2025-06-23 01:40:24" "lastUpdated": "2025-06-23 07:55:15"
}, },
{ {
"name": "AutoArtifactsSalvageOrDestroy1-4star", "name": "AutoArtifactsSalvageOrDestroy1-4star",

View File

@@ -311,8 +311,10 @@ const DEFAULT_FIGHT_TIMEOUT_SECONDS = 120;
if (runnedToday) { if (runnedToday) {
break artifacts; break artifacts;
} }
// 开始运行狗粮路线 // 开始运行狗粮路线
let runArtifactsResult = true; let runArtifactsResult = true;
runArtifactsResult = await runArtifactsPaths(runRouteA, grindPartyName, settings.useABE); runArtifactsResult = await runArtifactsPaths(runRouteA, grindPartyName, settings.useABE);
const result2 = await decomposeArtifacts(settings.keep4Star, settings.doDecompose); const result2 = await decomposeArtifacts(settings.keep4Star, settings.doDecompose);
// 计算 mora 和 artifactExperience 的差值 // 计算 mora 和 artifactExperience 的差值
@@ -405,11 +407,12 @@ async function runArtifactsPaths(runRouteA, grindPartyName, useABE) {
// 定义文件夹路径 // 定义文件夹路径
const folderName = `${runningRoute}路线`; const folderName = `${runningRoute}路线`;
let ArtifactsPath = "abeArtifactsPath";
if (!useABE) { if (!useABE) {
const ArtifactsPath = "ArtifactsPath"; ArtifactsPath = "ArtifactsPath";
log.info("使用新路线中"); log.info("使用新路线中");
} else { } else {
const ArtifactsPath = "abeArtifactsPath";
log.warn("使用老abe路线中"); log.warn("使用老abe路线中");
} }

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 1, "manifest_version": 1,
"name": "自动狗粮重制版", "name": "自动狗粮重制版",
"version": "1.4.1", "version": "1.4.2",
"tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"], "tags": ["好感", "盗宝团", "愚人众", "鳄鱼", "兽肉", "狗粮"],
"description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称", "description": "通过不同好感任务卡时间后运行狗粮任务以提高狗粮总收益,需要正确配置好感队伍的战斗策略,并在自定义配置中指定好感和狗粮队伍名称",
"authors": [ "authors": [