JS脚本: 自动伐木地图追踪版 修复悬铃木几处可能的卡死 (#1533)

This commit is contained in:
起个名字好难的喵
2025-08-10 11:43:34 +08:00
committed by GitHub
parent 554ca6068d
commit a47e786567
4 changed files with 48 additions and 20 deletions

View File

@@ -41,6 +41,13 @@
},
{
"id": 4,
"x": 3208.0186,
"y": 2726.9802,
"type": "path",
"move_mode": "walk"
},
{
"id": 5,
"x": 3212.9629,
"y": 2713.1687,
"type": "path",
@@ -49,7 +56,7 @@
"action_params": "wait(1),keypress(VK_Z)"
},
{
"id": 5,
"id": 6,
"x": 3191.3779,
"y": 2694.7012,
"type": "path",
@@ -58,7 +65,7 @@
"action_params": "keypress(VK_Z)"
},
{
"id": 6,
"id": 7,
"x": 3202.043,
"y": 2720.2837,
"type": "path",
@@ -67,7 +74,7 @@
"action_params": "keypress(VK_Z),wait(0.5)"
},
{
"id": 7,
"id": 8,
"x": 3188.1436,
"y": 2733.9587,
"type": "path",

View File

@@ -41,6 +41,13 @@
},
{
"id": 4,
"x": 3208.0186,
"y": 2726.9802,
"type": "path",
"move_mode": "walk"
},
{
"id": 5,
"x": 3212.9629,
"y": 2713.1687,
"type": "path",
@@ -49,7 +56,7 @@
"action_params": "wait(1),keypress(VK_Z)"
},
{
"id": 5,
"id": 6,
"x": 3191.3779,
"y": 2694.7012,
"type": "path",
@@ -58,7 +65,7 @@
"action_params": "keypress(VK_Z)"
},
{
"id": 6,
"id": 7,
"x": 3202.043,
"y": 2720.2837,
"type": "path",
@@ -67,7 +74,7 @@
"action_params": "keypress(VK_Z),wait(0.5)"
},
{
"id": 7,
"id": 8,
"x": 3188.1436,
"y": 2733.9587,
"type": "path",
@@ -76,7 +83,7 @@
"action_params": "wait(0.5),keypress(VK_Z)"
},
{
"id": 8,
"id": 9,
"x": 3183.2021,
"y": 2772.9824,
"type": "path",
@@ -85,7 +92,7 @@
"action_params": "keypress(VK_Z),wait(1)"
},
{
"id": 9,
"id": 10,
"x": 3179.9023,
"y": 2792.8123,
"type": "path",

View File

@@ -32,15 +32,22 @@
},
{
"id": 3,
"x": 3251.3398,
"y": 2795.8491,
"type": "path",
"move_mode": "run"
},
{
"id": 4,
"x": 3251.6758,
"y": 2788.0076,
"type": "path",
"move_mode": "run",
"move_mode": "walk",
"action": "use_gadget",
"action_params": "keypress(VK_Z)"
},
{
"id": 4,
"id": 5,
"x": 3250.0117,
"y": 2762.5725,
"type": "path",
@@ -49,7 +56,7 @@
"action_params": ""
},
{
"id": 5,
"id": 6,
"x": 3250.0117,
"y": 2762.5725,
"type": "path",
@@ -58,7 +65,7 @@
"action_params": "wait(2),keypress(VK_Z)"
},
{
"id": 6,
"id": 7,
"x": 3252.6641,
"y": 2753.5054,
"type": "path",
@@ -66,7 +73,7 @@
"action": ""
},
{
"id": 7,
"id": 8,
"x": 3212.6406,
"y": 2730.0439,
"type": "path",
@@ -75,7 +82,14 @@
"action_params": "keypress(VK_Z)"
},
{
"id": 8,
"id": 9,
"x": 3208.0186,
"y": 2726.9802,
"type": "path",
"move_mode": "walk"
},
{
"id": 10,
"x": 3212.9629,
"y": 2713.1687,
"type": "path",
@@ -84,7 +98,7 @@
"action_params": "wait(1),keypress(VK_Z)"
},
{
"id": 9,
"id": 11,
"x": 3191.3779,
"y": 2694.7012,
"type": "path",
@@ -93,7 +107,7 @@
"action_params": "keypress(VK_Z)"
},
{
"id": 10,
"id": 12,
"x": 3202.043,
"y": 2720.2837,
"type": "path",
@@ -102,7 +116,7 @@
"action_params": "keypress(VK_Z),wait(0.5)"
},
{
"id": 11,
"id": 13,
"x": 3188.1436,
"y": 2733.9587,
"type": "path",
@@ -111,7 +125,7 @@
"action_params": "wait(0.5),keypress(VK_Z)"
},
{
"id": 12,
"id": 14,
"x": 3183.2021,
"y": 2772.9824,
"type": "path",
@@ -120,7 +134,7 @@
"action_params": "keypress(VK_Z),wait(1)"
},
{
"id": 13,
"id": 15,
"x": 3179.9023,
"y": 2792.8123,
"type": "path",

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 1,
"name": "自动伐木-地图追踪版",
"version": "2.0.0",
"version": "2.0.3",
"description": "基于地图追踪的自动伐木已支持5.7版本前的全部木材\n默认砍伐全部支持木材至2000上限\n自定义设置:\n-可更改砍伐木材种类和数量\n-可以单独设置每个木材数量\n-可设置队伍中是否包含一斗按保底20%计算砍伐数量时会除以1.2",
"tags": [
"伐木",