Add files via upload
This commit is contained in:
10
repo/js/BeginFish/main.js
Normal file
10
repo/js/BeginFish/main.js
Normal 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("已开始钓鱼");
|
||||||
|
})();
|
||||||
12
repo/js/BeginFish/manifest.json
Normal file
12
repo/js/BeginFish/manifest.json
Normal 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
14
repo/js/EndFish/main.js
Normal 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);
|
||||||
|
|
||||||
|
})();
|
||||||
12
repo/js/EndFish/manifest.json
Normal file
12
repo/js/EndFish/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "结束钓鱼",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "结束钓鱼",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "龙弗山权",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user