Add files via upload
This commit is contained in:
14
repo/js/EncounterPoints/main.js
Normal file
14
repo/js/EncounterPoints/main.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
(async function () {
|
||||||
|
setGameMetrics(3840, 2160, 2);
|
||||||
|
keyPress("F1");
|
||||||
|
await sleep(1600);
|
||||||
|
click(580, 680);
|
||||||
|
await sleep(1000);
|
||||||
|
click(3110, 1508);
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1500);
|
||||||
|
keyPress("Escape");
|
||||||
|
|
||||||
|
log.info("已领取历练点");
|
||||||
|
})();
|
||||||
12
repo/js/EncounterPoints/manifest.json
Normal file
12
repo/js/EncounterPoints/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "领取历练点",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "用于领取历练点",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "HZYgrandma",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
14
repo/js/LastParty/main.js
Normal file
14
repo/js/LastParty/main.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
(async function () {
|
||||||
|
await sleep(15000);
|
||||||
|
setGameMetrics(3840, 2160, 2);
|
||||||
|
keyPress("L");
|
||||||
|
await sleep(4500);
|
||||||
|
click(150, 1078);
|
||||||
|
await sleep(800);
|
||||||
|
click(3200, 2050);
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1000);
|
||||||
|
|
||||||
|
log.info("已切换至上一队");
|
||||||
|
})();
|
||||||
12
repo/js/LastParty/manifest.json
Normal file
12
repo/js/LastParty/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "切换上一队",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "用于切换到上一队",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "HZYgrandma",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
16
repo/js/Mail/main.js
Normal file
16
repo/js/Mail/main.js
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
(async function () {
|
||||||
|
setGameMetrics(3840, 2160, 2);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1500);
|
||||||
|
click(94, 1212);
|
||||||
|
await sleep(1500);
|
||||||
|
click(500, 2024);
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
|
||||||
|
log.info("已领取邮件");
|
||||||
|
})();
|
||||||
12
repo/js/Mail/manifest.json
Normal file
12
repo/js/Mail/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "领取邮件",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "用于领取邮件",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "HZYgrandma",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
13
repo/js/NextParty/main.js
Normal file
13
repo/js/NextParty/main.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
(async function () {
|
||||||
|
setGameMetrics(3840, 2160, 2);
|
||||||
|
keyPress("L");
|
||||||
|
await sleep(4500);
|
||||||
|
click(3684, 1078);
|
||||||
|
await sleep(800);
|
||||||
|
click(3200, 2050);
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1000);
|
||||||
|
|
||||||
|
log.info("已切换至下一队");
|
||||||
|
})();
|
||||||
12
repo/js/NextParty/manifest.json
Normal file
12
repo/js/NextParty/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "切换下一队",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "用于切换到下一队",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "HZYgrandma",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
8
repo/js/QuitGame/main.js
Normal file
8
repo/js/QuitGame/main.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
(async function () {
|
||||||
|
keyDown("MENU");
|
||||||
|
keyDown("F4");
|
||||||
|
await sleep(50);
|
||||||
|
keyUp("MENU");
|
||||||
|
keyUp("F4");
|
||||||
|
await sleep(1500);
|
||||||
|
})();
|
||||||
12
repo/js/QuitGame/manifest.json
Normal file
12
repo/js/QuitGame/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "退出游戏",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "用于退出游戏",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "HZYgrandma",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
33
repo/js/SalvageArtifacts/main.js
Normal file
33
repo/js/SalvageArtifacts/main.js
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
(async function () {
|
||||||
|
setGameMetrics(3840, 2160, 2);
|
||||||
|
keyPress("b");
|
||||||
|
await sleep(1500);
|
||||||
|
click(1350, 90);
|
||||||
|
await sleep(1240);
|
||||||
|
click(1310, 2030);
|
||||||
|
await sleep(1000);
|
||||||
|
click(580, 2030);
|
||||||
|
await sleep(1240);
|
||||||
|
click(250, 300);
|
||||||
|
await sleep(500);
|
||||||
|
click(250, 450);
|
||||||
|
await sleep(500);
|
||||||
|
click(250, 600);
|
||||||
|
await sleep(500);
|
||||||
|
click(250, 750);
|
||||||
|
await sleep(500);
|
||||||
|
click(700, 2030);
|
||||||
|
await sleep(1240);
|
||||||
|
click(3500, 2030);
|
||||||
|
await sleep(1240);
|
||||||
|
click(2300, 1500);
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(800);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("Escape");
|
||||||
|
await sleep(1000);
|
||||||
|
|
||||||
|
log.info("已分解狗粮");
|
||||||
|
})();
|
||||||
12
repo/js/SalvageArtifacts/manifest.json
Normal file
12
repo/js/SalvageArtifacts/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "分解狗粮",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "用于分解狗粮",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "HZYgrandma",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
15
repo/js/Shutdown/main.js
Normal file
15
repo/js/Shutdown/main.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
(async function () {
|
||||||
|
keyDown("LWIN");
|
||||||
|
keyDown("X");
|
||||||
|
await sleep(50);
|
||||||
|
keyUp("LWIN");
|
||||||
|
keyUp("X");
|
||||||
|
await sleep(3000);
|
||||||
|
keyPress("LSHIFT");
|
||||||
|
await sleep(50);
|
||||||
|
keyPress("LCONTROL");
|
||||||
|
await sleep(50);
|
||||||
|
keyPress("U");
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("U");
|
||||||
|
})();
|
||||||
12
repo/js/Shutdown/manifest.json
Normal file
12
repo/js/Shutdown/manifest.json
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "关闭计算机",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "用于关闭计算机",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "HZYgrandma",
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"main": "main.js",
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user