JS脚本:北风的王狼自动刷取 (#354)
* Add files via upload * Add files via upload * Add files via upload
This commit is contained in:
93
repo/js/北风的王狼自动刷取/assets/前往狼王.json
Normal file
93
repo/js/北风的王狼自动刷取/assets/前往狼王.json
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"name": "未命名路径",
|
||||||
|
"type": "collect",
|
||||||
|
"author": "柒叶子",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "前往狼王",
|
||||||
|
"bgiVersion": "0.35.1"
|
||||||
|
},
|
||||||
|
"positions": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"action": "",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"type": "teleport",
|
||||||
|
"x": -251.5966796875,
|
||||||
|
"y": 2256.586181640625,
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"x": -239.8662109375,
|
||||||
|
"y": 2235.255859375,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 3,
|
||||||
|
"x": -243.6318359375,
|
||||||
|
"y": 2219.89599609375,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"x": -250.318359375,
|
||||||
|
"y": 2200.3515625,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "climb",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"x": -263.7783203125,
|
||||||
|
"y": 2142.494140625,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"x": -266.06640625,
|
||||||
|
"y": 2100.711669921875,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"x": -273.099609375,
|
||||||
|
"y": 2053.126220703125,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"x": -276.521484375,
|
||||||
|
"y": 2028.33837890625,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "fly",
|
||||||
|
"action": "stop_flying",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 9,
|
||||||
|
"x": -280.3447265625,
|
||||||
|
"y": 1999.419921875,
|
||||||
|
"type": "target",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
31
repo/js/北风的王狼自动刷取/assets/领取奖励.json
Normal file
31
repo/js/北风的王狼自动刷取/assets/领取奖励.json
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"info": {
|
||||||
|
"name": "未命名路径",
|
||||||
|
"type": "collect",
|
||||||
|
"author": "柒叶子",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "领取狼王奖励",
|
||||||
|
"bgiVersion": "0.35.1"
|
||||||
|
},
|
||||||
|
"positions": [
|
||||||
|
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"x": -264.44921875,
|
||||||
|
"y": 1991.2685546875,
|
||||||
|
"type": "path",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"x": -248.8486328125,
|
||||||
|
"y": 1984.78125,
|
||||||
|
"type": "target",
|
||||||
|
"move_mode": "walk",
|
||||||
|
"action": "",
|
||||||
|
"action_params": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
10
repo/js/北风的王狼自动刷取/main.js
Normal file
10
repo/js/北风的王狼自动刷取/main.js
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
(async function () {
|
||||||
|
await pathingScript.runFile("assets/前往狼王.json");
|
||||||
|
await sleep(1000);
|
||||||
|
keyPress("F");
|
||||||
|
await sleep(13000);
|
||||||
|
await dispatcher.runTask(new SoloTask("AutoFight"));
|
||||||
|
await sleep(1000);
|
||||||
|
await pathingScript.runFile("assets/领取奖励.json");
|
||||||
|
keyPress("F");
|
||||||
|
})();
|
||||||
14
repo/js/北风的王狼自动刷取/manifest.json
Normal file
14
repo/js/北风的王狼自动刷取/manifest.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"manifest_version": 1,
|
||||||
|
"name": "王狼自动刷取",
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "建议钟离、芙芙和优质后台(精通雷神、草神等),另外看情况更改自动战斗的超时时间",
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "柒叶子",
|
||||||
|
"link": "https://github.com/511760049"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings_ui": "settings.json",
|
||||||
|
"main": "main.js"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user