fix some bugs (#343)

* fix: 设备卡顿时可能无法点到领取委托奖励/探索派遣按钮

* fix: 无法正常选择不同地区凯瑟琳
This commit is contained in:
KarylDAZE
2025-02-18 00:49:25 +08:00
committed by GitHub
parent d2ee8946b1
commit 2af65bfc20
6 changed files with 8 additions and 8 deletions

View File

@@ -20,10 +20,10 @@
}
let filePath;
if (settings.selectway === undefined)
if (settings.selectValue === undefined)
filePath = "枫丹凯瑟琳"
else
filePath = settings.selectway;
filePath = settings.selectValue;
log.info("开始执行路径脚本");
await AutoPath(filePath);

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "自动找凯瑟琳",
"version": "1.1",
"version": "1.2",
"description": "去找凯瑟琳(基于路径追踪)",
"authors": [
{

View File

@@ -6,8 +6,8 @@
log.info("等待1秒");
click(960, 540);
log.info("点击坐标(960, 540)(屏幕中心)");
await sleep(1000);
log.info("等待1秒");
await sleep(1500);
log.info("等待1.5秒");
click(1380, 425);
log.info("点击坐标(1380, 425)(领取「每日委托」奖励)");
await sleep(1000);

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "领取每日委托奖励",
"version": "1.2",
"version": "1.3",
"description": "用于领取每日委托奖励",
"authors": [
{

View File

@@ -3,7 +3,7 @@
keyPress("F");
await sleep(3000);
click(960, 540);
await sleep(1000);
await sleep(1500);
click(1400, 580);
await sleep(1000);
click(160, 1010);

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "重新探索派遣",
"version": "1.0",
"version": "1.1",
"description": "用于重新探索派遣",
"authors": [
{