Add files via upload

This commit is contained in:
Aemiser
2025-01-08 23:41:18 +08:00
committed by GitHub
parent 6dcb7c9a10
commit 5534424ef8
4 changed files with 48 additions and 0 deletions

10
repo/js/BeginFish/main.js Normal file
View File

@@ -0,0 +1,10 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
keyPress("F");
await sleep(1000);
click(1497, 1024);
await sleep(1000);
log.info("已开始钓鱼");
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "开始钓鱼",
"version": "1.0",
"description": "开始钓鱼",
"authors": [
{
"name": "龙弗山权",
}
],
"main": "main.js",
}

14
repo/js/EndFish/main.js Normal file
View File

@@ -0,0 +1,14 @@
(async function () {
setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI
log.info(`退出钓鱼,为下个钓点做准备`);
await keyPress("Escape");
await sleep(1000);
click(1010, 756);
await sleep(1000);
})();

View File

@@ -0,0 +1,12 @@
{
"manifest_version": 1,
"name": "结束钓鱼",
"version": "1.0",
"description": "结束钓鱼",
"authors": [
{
"name": "龙弗山权",
}
],
"main": "main.js",
}