js:锄地一条龙 (#2592)

This commit is contained in:
mno
2025-12-30 03:24:19 +08:00
committed by GitHub
parent 2c33e05767
commit dcc1357b15
2 changed files with 8 additions and 10 deletions

View File

@@ -34,7 +34,13 @@ const mainUIRo = RecognitionObject.TemplateMatch(mainUITemplate, 0, 0, 150, 150)
let targetItems;
let doFurinaSwitch = false;
let findFInterval;
let findFInterval = (+settings.findFInterval || 100);
if (findFInterval < 16) {
findFInterval = 16;
}
if (findFInterval > 200) {
findFInterval = 200;
}
let lastRoll = new Date();
let checkDelay = Math.round(findFInterval / 2);
let rollingDelay = (+settings.rollingDelay || 32);
@@ -125,14 +131,6 @@ let runningFailCount = 0;
dumpers = [];
}
let findFInterval = (+settings.findFInterval || 100);
if (findFInterval < 16) {
findFInterval = 16;
}
if (findFInterval > 200) {
findFInterval = 200;
}
priorityTags = (settings.priorityTags || "").split("").map(tag => tag.trim()).filter(tag => tag.length > 0);
excludeTags = (settings.excludeTags || "").split("").map(tag => tag.trim()).filter(tag => tag.length > 0);

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "锄地一条龙",
"version": "1.15.0",
"version": "1.15.1",
"description": "一站式解决自动化锄地支持只拾取狗粮请仔细阅读README.md后使用",
"authors": [
{