js:狗粮和锄地修几个bug (#2217)
* js:联机狗粮1.5.6 增加按键延迟,修正1234P图片 * js:锄地一条龙1.9.6 修复狗粮拾取模板文件路径 移除调试日志输出 * js:锄地一条龙 修正部分模板图片
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 888 B After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 971 B After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -767,6 +767,7 @@ async function findAndClick(target, maxAttempts = 20) {
|
||||
try {
|
||||
const result = gameRegion.find(target);
|
||||
if (result.isExist()) {
|
||||
await sleep(250);
|
||||
result.click();
|
||||
return true; // 成功立刻返回
|
||||
}
|
||||
@@ -1411,6 +1412,7 @@ async function processArtifacts() {
|
||||
try {
|
||||
const result = gameRegion.find(target);
|
||||
if (result.isExist) {
|
||||
await sleep(250);
|
||||
result.click();
|
||||
return true; // 成功立刻返回
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 1,
|
||||
"name": "AAA狗粮联机团购",
|
||||
"version": "1.5.4",
|
||||
"version": "1.5.6",
|
||||
"tags": [
|
||||
"狗粮"
|
||||
],
|
||||
|
||||