js:狗粮批发

修正匹配阈值参数
This commit is contained in:
mno
2025-10-21 23:14:12 +08:00
parent f1a442382a
commit 480ad9aafa
4 changed files with 6 additions and 4 deletions

View File

@@ -1347,7 +1347,8 @@ async function recognizeAndInteract() {
12 + 28 * cnLen + 2,
30
);
recognitionObject.Threshold = targetItem.Threshold;
recognitionObject.Threshold = TMthreshold;
recognitionObject.InitTemplate();
result = gameRegion.find(recognitionObject);
if (result.isExist()) {

View File

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

View File

@@ -1186,7 +1186,8 @@ async function recognizeAndInteract() {
12 + 28 * cnLen + 2,
30
);
recognitionObject.Threshold = targetItem.Threshold;
recognitionObject.Threshold = TMthreshold;
recognitionObject.InitTemplate();
result = gameRegion.find(recognitionObject);
if (result.isExist()) {

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "AAA狗粮联机团购",
"version": "1.5.1",
"version": "1.5.2",
"tags": [
"狗粮"
],