diff --git a/repo/js/使用脆弱树脂/main.js b/repo/js/使用脆弱树脂/main.js new file mode 100644 index 00000000..92302546 --- /dev/null +++ b/repo/js/使用脆弱树脂/main.js @@ -0,0 +1,30 @@ +(async function () { + const defaultTime = 1 + + setGameMetrics(3840, 2160, 1.5); // 设置游戏窗口大小和DPI + + keyPress("M");//打开地图 + await sleep(1200); + click(2475, 95);// 点击添加体力 + await sleep(600); + click(1660, 950)// 选择脆弱树脂 + await sleep(600); + click(2350, 1550);// 点击使用 + await sleep(600); + + if (isNaN(settings.times || settings.times <= 0)) { + times = defaultTime + }else{ + for (let i = 1; i < settings.times; ++i) { + click(2585, 1295);// 点击使用数量 + await sleep(600); + } + } + + click(2350, 1550);// 点击使用 + await sleep(600); + click(1920, 1500);// 点击空白处 + await sleep(600); + keyPress("VK_ESCAPE");//关闭地图 + +})(); diff --git a/repo/js/使用脆弱树脂/manifest.json b/repo/js/使用脆弱树脂/manifest.json new file mode 100644 index 00000000..30c1a632 --- /dev/null +++ b/repo/js/使用脆弱树脂/manifest.json @@ -0,0 +1,15 @@ +{ + "manifest_version": 1, + "name": "使用脆弱树脂", + "version": "1.0", + "bgi_version": "0.37.1", + "description": "", + "authors": [ + { + "name": "起个名字好难", + "link": "https://mualani.fun" + } + ], + "settings_ui": "settings.json", + "main": "main.js" +} diff --git a/repo/js/使用脆弱树脂/settings.json b/repo/js/使用脆弱树脂/settings.json new file mode 100644 index 00000000..3b6b0719 --- /dev/null +++ b/repo/js/使用脆弱树脂/settings.json @@ -0,0 +1,7 @@ +[ + { + "name": "times", + "type": "input-text", + "label": "每次使用个数" + } +] \ No newline at end of file diff --git a/repo/pathing/血斛/血斛-九条阵屋-10个 .json b/repo/pathing/血斛/血斛-九条阵屋-10个 .json new file mode 100644 index 00000000..705b1779 --- /dev/null +++ b/repo/pathing/血斛/血斛-九条阵屋-10个 .json @@ -0,0 +1,156 @@ +{ + "info": { + "name": "血斛-九条阵屋-14个", + "type": "collect", + "author": "起个名字好难", + "version": "1.0", + "description": "", + "bgiVersion": "0.37.3" + }, + "positions": [ + { + "id": 1, + "x": -3436.9990234375, + "y": -3319.7763671875, + "action": "", + "move_mode": "walk", + "type": "teleport" + }, + { + "id": 2, + "x": -3419.6689453125, + "y": -3305.8251953125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 3, + "x": -3404.185546875, + "y": -3286.919921875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 4, + "x": -3410.9560546875, + "y": -3263.1025390625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 5, + "x": -3395.0341796875, + "y": -3252.869140625, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 6, + "x": -3394.744140625, + "y": -3243.0791015625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 7, + "x": -3392.9873046875, + "y": -3235.1943359375, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 8, + "x": -3395.564453125, + "y": -3222.189453125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 9, + "x": -3369.142578125, + "y": -3224.578125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 10, + "x": -3352.05078125, + "y": -3237.07421875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 11, + "x": -3349.7578125, + "y": -3232.8935546875, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 12, + "x": -3302.31640625, + "y": -3223.3564453125, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 13, + "x": -3290.5859375, + "y": -3214.833984375, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 14, + "x": -3297.8671875, + "y": -3205.8642578125, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 15, + "x": -3253.7294921875, + "y": -3175.376953125, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 16, + "x": -3235.328125, + "y": -3160.3203125, + "action": "", + "move_mode": "walk", + "type": "teleport" + }, + { + "id": 17, + "x": -3228.3369140625, + "y": -3134.0166015625, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 18, + "x": -3257.359375, + "y": -3123.7841796875, + "action": "", + "move_mode": "walk", + "type": "path" + } + ] +} \ No newline at end of file diff --git a/repo/pathing/血斛/血斛-九条阵屋-14个(末尾纳西妲4个).json b/repo/pathing/血斛/血斛-九条阵屋-14个(末尾纳西妲4个).json new file mode 100644 index 00000000..7527a8ab --- /dev/null +++ b/repo/pathing/血斛/血斛-九条阵屋-14个(末尾纳西妲4个).json @@ -0,0 +1,188 @@ +{ + "info": { + "name": "血斛-九条阵屋-14个", + "type": "collect", + "author": "起个名字好难", + "version": "1.0", + "description": "", + "bgiVersion": "0.37.3" + }, + "positions": [ + { + "id": 1, + "x": -3436.9990234375, + "y": -3319.7763671875, + "action": "", + "move_mode": "walk", + "type": "teleport" + }, + { + "id": 2, + "x": -3419.6689453125, + "y": -3305.8251953125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 3, + "x": -3404.185546875, + "y": -3286.919921875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 4, + "x": -3410.9560546875, + "y": -3263.1025390625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 5, + "x": -3395.0341796875, + "y": -3252.869140625, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 6, + "x": -3394.744140625, + "y": -3243.0791015625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 7, + "x": -3392.9873046875, + "y": -3235.1943359375, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 8, + "x": -3395.564453125, + "y": -3222.189453125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 9, + "x": -3369.142578125, + "y": -3224.578125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 10, + "x": -3352.05078125, + "y": -3237.07421875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 11, + "x": -3349.7578125, + "y": -3232.8935546875, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 12, + "x": -3302.31640625, + "y": -3223.3564453125, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 13, + "x": -3290.5859375, + "y": -3214.833984375, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 14, + "x": -3297.8671875, + "y": -3205.8642578125, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 15, + "x": -3253.7294921875, + "y": -3175.376953125, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 16, + "x": -3235.328125, + "y": -3160.3203125, + "action": "", + "move_mode": "walk", + "type": "teleport" + }, + { + "id": 17, + "x": -3228.3369140625, + "y": -3134.0166015625, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 18, + "x": -3257.359375, + "y": -3123.7841796875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 19, + "x": -3272.830078125, + "y": -3102.984375, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 20, + "x": -3222.3935546875, + "y": -2978.4658203125, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 21, + "x": -3217.43359375, + "y": -2983.6572265625, + "action": "nahida_collect", + "move_mode": "walk", + "type": "target" + }, + { + "id": 22, + "x": -3217.3759765625, + "y": -2983.787109375, + "action": "nahida_collect", + "move_mode": "walk", + "type": "target" + } + ] +} \ No newline at end of file diff --git a/repo/pathing/血斛/血斛-蛇神之首-12个.json b/repo/pathing/血斛/血斛-蛇神之首-12个.json new file mode 100644 index 00000000..8f55a56b --- /dev/null +++ b/repo/pathing/血斛/血斛-蛇神之首-12个.json @@ -0,0 +1,172 @@ +{ + "info": { + "name": "血斛-蛇神之首-12个", + "type": "collect", + "author": "起个名字好难", + "version": "1.0", + "description": "", + "bgiVersion": "0.37.3" + }, + "positions": [ + { + "id": 1, + "x": -2402.666015625, + "y": -3922.6884765625, + "action": "", + "move_mode": "walk", + "type": "teleport" + }, + { + "id": 2, + "x": -2375.3828125, + "y": -3943.7060546875, + "action": "", + "move_mode": "fly", + "type": "path" + }, + { + "id": 3, + "x": -2375.5751953125, + "y": -3944.26953125, + "action": "stop_flying", + "move_mode": "fly", + "type": "path" + }, + { + "id": 4, + "x": -2380.38671875, + "y": -3953.130859375, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 5, + "x": -2365.6044921875, + "y": -3963.921875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 6, + "x": -2357.8056640625, + "y": -3974.9453125, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 7, + "x": -2349.578125, + "y": -3978.90625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 8, + "x": -2338.3173828125, + "y": -3980.4140625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 9, + "x": -2319.4033203125, + "y": -3971.4091796875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 10, + "x": -2314.4072265625, + "y": -3958.982421875, + "action": "", + "move_mode": "walk", + "type": "path" + }, + { + "id": 11, + "x": -2305.1806640625, + "y": -3956.5478515625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 12, + "x": -2403.4716796875, + "y": -3921.9853515625, + "type": "teleport", + "move_mode": "walk", + "action": "" + }, + { + "id": 15, + "x": -2318.298828125, + "y": -3910.404296875, + "action": "stop_flying", + "move_mode": "fly", + "type": "path" + }, + { + "id": 16, + "x": -2317.298828125, + "y": -3910.21484375, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 17, + "x": -2315.0361328125, + "y": -3907.1728515625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 18, + "x": -2317.0361328125, + "y": -3904.943359375, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 19, + "x": -2336.412109375, + "y": -3904.9072265625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 20, + "x": -2339.3046875, + "y": -3904.2119140625, + "action": "", + "move_mode": "walk", + "type": "target" + }, + { + "id": 21, + "x": -2336.59765625, + "y": -3898.2275390625, + "action": "", + "move_mode": "fly", + "type": "path" + }, + { + "id": 20, + "x": -2335.2314453125, + "y": -3896.98828125, + "type": "target", + "move_mode": "fly", + "action": "" + } + ] +} \ No newline at end of file