js:AAA狗粮批发1.2.9 (#1834)

Co-authored-by: 起个名字好难的喵 <25520958+MisakaAldrich@users.noreply.github.com>
This commit is contained in:
mno
2025-09-07 22:45:10 +08:00
committed by GitHub
parent ef8f0e16cd
commit 1711f27ac2
2 changed files with 11 additions and 1 deletions

View File

@@ -83,7 +83,8 @@ https://www.kdocs.cn/wo/sl/v13uXscL
## 更新日志
### 1.2.92025.09.07
1.修几条路线228,622,638,305【清怪】稻妻-踏鞴,
1.修复额外等待时间不生效的问题
2.修几条路线228,622,638,305【清怪】稻妻-踏鞴,
### 1.2.82025.09.04
1.修几条路线305【清怪】稻妻-踏鞴砂,417,622,632,634,
2.【额外】水天丛林时间改成12点,未解锁任务也可以降水位

View File

@@ -1076,6 +1076,15 @@ async function runPaths(folderFilePath, PartyName, doStop, furinaRequirement = "
await writeCDInfo(accountName);
}
}
if (doStop && new Date() < state.aimActivateTime) {
const maxWaitMs = settings.maxWaitingTime * 60 * 1000;
const needWaitMs = state.aimActivateTime - new Date();
if (needWaitMs <= maxWaitMs && needWaitMs > 0) {
log.info(`等待 ${needWaitMs} 毫秒到达预定时间`);
await sleep(needWaitMs);
}
}
}
async function parsePathing(pathFilePath) {