JS脚本:给兽肉好感事件添加了万叶专用的拾取模式,43min300个 (#851)

* Update main.js

* Update settings.json

* Add files via upload

* Add files via upload

* Add files via upload
This commit is contained in:
5117600049
2025-05-17 11:37:43 +08:00
committed by GitHub
parent 9d79401182
commit bf201a3cae
6 changed files with 91 additions and 5 deletions

View File

@@ -112,7 +112,19 @@
"forceInteraction": true
}));
await AutoPath(`好感-张牙舞爪的恶党-循环${getMeatMode ? '(二净甸刷肉版)' : '(二净甸)'}`);
//原版逻辑 await AutoPath(`好感-张牙舞爪的恶党-循环${getMeatMode ? '(二净甸刷肉版)' : '(二净甸)'}`);
//多种拾取模式
if (getMeatMode == "通用拾取") {
await AutoPath(`好感-张牙舞爪的恶党-循环(二净甸刷肉版)`);
}
else if (getMeatMode == "万叶拾取") {
await AutoPath(`万叶版前往`);
await keyMouseScript.runFile(`assets/万叶拾取.json`);
await AutoPath(`万叶版返回`);
}
else {
await AutoPath(`好感-张牙舞爪的恶党-循环(二净甸)`);
}
// 关闭急速拾取
dispatcher.addTimer(new RealtimeTimer("AutoPick", {
@@ -213,4 +225,4 @@
const startTime = Date.now();
await AutoFriendship(runTimes, statueTimes, getMeatMode, delayTime, startTime, ocrTimeout);
})();
})();