diff --git a/repo/js/Condensed Resin/main.js b/repo/js/Condensed Resin/main.js new file mode 100644 index 00000000..13ac70a2 --- /dev/null +++ b/repo/js/Condensed Resin/main.js @@ -0,0 +1,14 @@ +(async function () { + setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI + keyPress("F"); + await sleep(3000); + click(960, 540); + await sleep(1000); + click(1750, 1010); + await sleep(5000); + click(975, 900); + await sleep(1000); + keyPress("Escape"); + + log.info("已完成合成浓缩树脂"); +})(); \ No newline at end of file diff --git a/repo/js/Condensed Resin/manifest.json b/repo/js/Condensed Resin/manifest.json new file mode 100644 index 00000000..4ae59a4b --- /dev/null +++ b/repo/js/Condensed Resin/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "合成浓缩树脂", + "version": "1.0", + "description": "用于合成浓缩树脂", + "authors": [ + { + "name": "鹤望兰", + } + ], + "main": "main.js", +} \ No newline at end of file diff --git a/repo/js/Daily Commission/main.js b/repo/js/Daily Commission/main.js new file mode 100644 index 00000000..f62c12e0 --- /dev/null +++ b/repo/js/Daily Commission/main.js @@ -0,0 +1,12 @@ +(async function () { + setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI + keyPress("F"); + await sleep(3000); + click(960, 540); + await sleep(2000); + click(1400, 430); + await sleep(3000); + click(950, 800); + + log.info("已领取每日委托奖励"); +})(); \ No newline at end of file diff --git a/repo/js/Daily Commission/manifest.json b/repo/js/Daily Commission/manifest.json new file mode 100644 index 00000000..7d3ec7c2 --- /dev/null +++ b/repo/js/Daily Commission/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "领取每日委托奖励", + "version": "1.0", + "description": "用于领取每日委托奖励", + "authors": [ + { + "name": "鹤望兰", + } + ], + "main": "main.js", +} \ No newline at end of file diff --git a/repo/js/Decompose artifact/main.js b/repo/js/Decompose artifact/main.js new file mode 100644 index 00000000..301951c9 --- /dev/null +++ b/repo/js/Decompose artifact/main.js @@ -0,0 +1,32 @@ +(async function () { + setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI + keyPress("B"); + await sleep(3000); + click(670,40); + await sleep(2000); + click(660,1010); + await sleep(2000); + click(300,1020); + await sleep(1000); + click(300,380); + await sleep(400); + click(300,300); + await sleep(400); + click(300,220); + await sleep(400); + click(300,150); + await sleep(800); + click(340,1010); + await sleep(800); + click(1740,1020); + await sleep(800); + click(1180,750); + await sleep(800); + click(950,800); + await sleep(800); + keyPress("Escape"); + await sleep(1000); + keyPress("Escape"); + + log.info("已分解狗粮"); +})(); \ No newline at end of file diff --git a/repo/js/Decompose artifact/manifest.json b/repo/js/Decompose artifact/manifest.json new file mode 100644 index 00000000..02e094a7 --- /dev/null +++ b/repo/js/Decompose artifact/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "分解狗粮", + "version": "1.0", + "description": "用于分解狗粮", + "authors": [ + { + "name": "鹤望兰", + } + ], + "main": "main.js", +} \ No newline at end of file diff --git a/repo/js/Expedition/main.js b/repo/js/Expedition/main.js new file mode 100644 index 00000000..93e60934 --- /dev/null +++ b/repo/js/Expedition/main.js @@ -0,0 +1,16 @@ +(async function () { + setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI + keyPress("F"); + await sleep(3000); + click(960, 540); + await sleep(1000); + click(1400, 580); + await sleep(1000); + click(160, 1010); + await sleep(1000); + click(1160, 1020); + await sleep(1000); + keyPress("Escape"); + + log.info("已领取每日委托奖励"); +})(); \ No newline at end of file diff --git a/repo/js/Expedition/manifest.json b/repo/js/Expedition/manifest.json new file mode 100644 index 00000000..9b6b32e2 --- /dev/null +++ b/repo/js/Expedition/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "重新探索派遣", + "version": "1.0", + "description": "用于重新探索派遣", + "authors": [ + { + "name": "鹤望兰", + } + ], + "main": "main.js", +} \ No newline at end of file diff --git a/repo/js/Experience points/main.js b/repo/js/Experience points/main.js new file mode 100644 index 00000000..56733155 --- /dev/null +++ b/repo/js/Experience points/main.js @@ -0,0 +1,12 @@ +(async function () { + setGameMetrics(1920, 1080, 2); // 设置游戏窗口大小和DPI + keyPress("F1"); + await sleep(3000); + click(300,340); + await sleep(1000); + click(1550,750); + await sleep(3000); + keyPress("Escape"); + + log.info("已领取历练点"); +})(); \ No newline at end of file diff --git a/repo/js/Experience points/manifest.json b/repo/js/Experience points/manifest.json new file mode 100644 index 00000000..ccd47217 --- /dev/null +++ b/repo/js/Experience points/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "领取历练点", + "version": "1.0", + "description": "用于领取历练点", + "authors": [ + { + "name": "鹤望兰", + } + ], + "main": "main.js", +} \ No newline at end of file diff --git a/repo/js/Wait 10min/main.js b/repo/js/Wait 10min/main.js new file mode 100644 index 00000000..be0d4e8d --- /dev/null +++ b/repo/js/Wait 10min/main.js @@ -0,0 +1,5 @@ +(async function () { + setGameMetrics(1920, 1080, 2); + await sleep(10000); // 转换时间单位,从20ms到秒 + log.info("等待了10秒"); +})(); \ No newline at end of file diff --git a/repo/js/Wait 10min/manifest.json b/repo/js/Wait 10min/manifest.json new file mode 100644 index 00000000..f4b2bd1e --- /dev/null +++ b/repo/js/Wait 10min/manifest.json @@ -0,0 +1,12 @@ +{ + "manifest_version": 1, + "name": "等待十秒", + "version": "1.0", + "description": "用于等待十秒", + "authors": [ + { + "name": "鹤望兰", + } + ], + "main": "main.js", +} \ No newline at end of file