js:AAA狗粮批发1.0.4 (#1657)

This commit is contained in:
mno
2025-08-21 01:21:03 +08:00
committed by GitHub
parent d73e03dd96
commit a932672055
3 changed files with 13 additions and 8 deletions

View File

@@ -82,6 +82,8 @@ https://www.kdocs.cn/wo/sl/v13uXscL
## 更新日志
### 1.0.42025.08.20
1.修改黑白芙切换逻辑
### 1.0.32025.08.20
1.优化度假村路线
### 1.0.22025.08.20

View File

@@ -766,9 +766,16 @@ async function runNormalPath(doStop) {
log.info("填写了清怪队伍,执行清怪路线");
await runPaths(normalCombatPath, combatPartyName, doStop);
}
if (settings.furina) {
await pathingScript.runFile('assets/furina/强制白芙.json');
}
// 启用自动拾取的实时任务
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
await runPaths(normalExecutePath, artifactPartyName, doStop);
//切回黑芙
if (settings.furina) {
await pathingScript.runFile('assets/furina/强制黑芙.json');
}
}
async function runActivatePath() {
@@ -823,6 +830,9 @@ async function runActivatePath() {
}
async function runEndingAndExtraPath() {
if (settings.furina) {
await pathingScript.runFile('assets/furina/强制白芙.json');
}
// 启用自动拾取的实时任务
dispatcher.addTimer(new RealtimeTimer("AutoPick"));
if (state.cancel) return;
@@ -880,13 +890,6 @@ async function runPaths(folderFilePath, PartyName, doStop) {
//如果与当前队伍不同,尝试切换队伍,并更新队伍
await switchPartyIfNeeded(PartyName);
state.currentParty = PartyName;
if (settings.furina) {
if (state.currentParty === artifactPartyName) {
await pathingScript.runFile('assets/furina/强制白芙.json');
} else {
await pathingScript.runFile('assets/furina/强制黑芙.json');
}
}
}
await fakeLog(Path.fileName, false, true, 0);
try {

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "AAA狗粮批发",
"version": "1.0.3",
"version": "1.0.4",
"tags": [
"狗粮"
],