JS脚本:给兽肉好感事件添加了万叶专用的拾取模式,43min300个 (#851)
* Update main.js * Update settings.json * Add files via upload * Add files via upload * Add files via upload
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "万叶版前往",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgi_version": "0.44.4"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 3614.63,
|
||||
"y": -521.6,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 3578.08,
|
||||
"y": -500.75,
|
||||
"action": "fight",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"info": {
|
||||
"name": "万叶版返回",
|
||||
"type": "collect",
|
||||
"author": "柒叶子",
|
||||
"version": "1.0",
|
||||
"description": "",
|
||||
"bgi_version": "0.44.4"
|
||||
},
|
||||
"positions": [
|
||||
{
|
||||
"id": 1,
|
||||
"x": 3605.18,
|
||||
"y": -513.32,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"x": 3614.63,
|
||||
"y": -521.6,
|
||||
"action": "",
|
||||
"move_mode": "dash",
|
||||
"action_params": "",
|
||||
"type": "path"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"macroEvents":[{"type":0,"keyCode":83,"mouseX":0,"mouseY":0,"time":454},{"type":0,"keyCode":68,"mouseX":0,"mouseY":0,"time":813},{"type":1,"keyCode":83,"mouseX":0,"mouseY":0,"time":829},{"type":0,"keyCode":87,"mouseX":0,"mouseY":0,"time":1032},{"type":1,"keyCode":68,"mouseX":0,"mouseY":0,"time":1110},{"type":0,"keyCode":65,"mouseX":0,"mouseY":0,"time":1625},{"type":1,"keyCode":87,"mouseX":0,"mouseY":0,"time":1688},{"type":0,"keyCode":83,"mouseX":0,"mouseY":0,"time":2125},{"type":1,"keyCode":65,"mouseX":0,"mouseY":0,"time":2204},{"type":0,"keyCode":68,"mouseX":0,"mouseY":0,"time":2625},{"type":1,"keyCode":83,"mouseX":0,"mouseY":0,"time":2704},{"type":1,"keyCode":68,"mouseX":0,"mouseY":0,"time":3250}],"info":{"name":"","description":"","x":638,"y":382,"width":2560,"height":1440,"recordDpi":1.75}}
|
||||
@@ -112,7 +112,19 @@
|
||||
"forceInteraction": true
|
||||
}));
|
||||
|
||||
await AutoPath(`好感-张牙舞爪的恶党-循环${getMeatMode ? '(二净甸刷肉版)' : '(二净甸)'}`);
|
||||
//原版逻辑 await AutoPath(`好感-张牙舞爪的恶党-循环${getMeatMode ? '(二净甸刷肉版)' : '(二净甸)'}`);
|
||||
//多种拾取模式
|
||||
if (getMeatMode == "通用拾取") {
|
||||
await AutoPath(`好感-张牙舞爪的恶党-循环(二净甸刷肉版)`);
|
||||
}
|
||||
else if (getMeatMode == "万叶拾取") {
|
||||
await AutoPath(`万叶版前往`);
|
||||
await keyMouseScript.runFile(`assets/万叶拾取.json`);
|
||||
await AutoPath(`万叶版返回`);
|
||||
}
|
||||
else {
|
||||
await AutoPath(`好感-张牙舞爪的恶党-循环(二净甸)`);
|
||||
}
|
||||
|
||||
// 关闭急速拾取
|
||||
dispatcher.addTimer(new RealtimeTimer("AutoPick", {
|
||||
|
||||
@@ -6,8 +6,12 @@
|
||||
},
|
||||
{
|
||||
"name": "getMeatMode",
|
||||
"type": "checkbox",
|
||||
"label": "开启刷兽肉模式【勾选才拾取兽肉】"
|
||||
"type": "select",
|
||||
"label": "开启刷兽肉模式【勾选才拾取兽肉】",
|
||||
"options": [
|
||||
"通用拾取",
|
||||
"万叶拾取"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "inputValue",
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
丽莎 e
|
||||
枫原万叶 e(hold),attack,e(hold),attack
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user