AbundantOre脚本增加仅跳过精英怪的选项 (#1824)

* add elite enemies tag

* Add options to skip elite enemies only

* ver 0.6

* Update README
This commit is contained in:
Jamis
2025-09-06 18:39:51 +08:00
committed by GitHub
parent 94739ade1f
commit 65f096d19a
15 changed files with 1266 additions and 614 deletions

View File

@@ -15,14 +15,14 @@
例如填写时间`23:00~03:50`,如果我们在`23:30`开始挖矿,那么将在第二天`03:50`左右停止;如果我们在`22:30`开始挖矿,脚本会因不在预设时间范围内立即停止。
如果三个条件均未填写,脚本将在挖完所有的矿后停止。注意如果第一次运行这个脚本,这个过程可能持续十数个小时。
如果三个条件均未填写,脚本将在挖完所有的矿后停止。注意如果第一次运行这个脚本,这个过程可能持续十数个小时。
- 地面挖矿队伍中必须有诺艾尔,只挖水下的矿则无此限制。
- 矿产资源的刷新时间记录在脚本目录下`local/persistent_data.json`文件中升级或重新安装BetterGI可能导致该记录丢失请自行备份。
- 如果勾选`跳过所有战斗`选项,将不会运行所有需要打败怪物的挖矿路线。但角色仍可能在运行部分路线时被路过的怪物摸两下,请仍保证队伍有一定的生存能力。
- 如果`需要战斗的路线`选择`跳过`选项,将不会运行所有需要打败怪物的挖矿路线。但角色仍可能在运行部分路线时被路过的怪物摸两下,请仍保证队伍有一定的生存能力。
## 进阶使用
- 如果有多个游戏帐号可在最后一个输入框内为每个游戏帐号填写一个唯一的字符串以使他们的刷新时间分开保存互不干扰。这个唯一的字符串并不必须是帐号的UID只要互不相同就可以了。
- 对于因没有完成地图探索任务而无法正常完成某些路线的玩家,如果不想跳过整个区域,可以将想要跳过的脚本文件名称填入`local/disabled_paths.txt`文件中以跳过这些地图追踪脚本,语法请参考`assets/disabled_paths.conf`
- 使用BetterGI `0.49.0`版本的用户请勾选`自动适配DPI缩放`复选框,使用高于`0.49.0`的测试版或正式版的用户,请不要勾选此复选框。
- 对于因没有完成地图探索任务而无法正常完成某些路线的玩家,如果不想跳过整个区域,可以将脚本文件名称填入`local/disabled_paths.txt`文件中以跳过这些地图追踪脚本,语法请参考`assets/disabled_paths.conf`
- 使用BetterGI `0.49.0`版本的用户请勾选`自动适配DPI缩放`复选框,使用高于`0.49.0`的测试版或正式版的用户,请不要勾选此复选框。

File diff suppressed because it is too large Load Diff

View File

@@ -12,7 +12,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754796661375,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -127,4 +129,4 @@
"action_params": ""
}
]
}
}

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754818713032,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -378,4 +380,4 @@
"action_params": ""
}
]
}
}

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754892550189,
"enable_monster_loot_split": false,
"map_match_method": ""

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1755063737987,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -495,4 +497,4 @@
"action_params": ""
}
]
}
}

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754661637103,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -81,4 +83,4 @@
"action_params": ""
}
]
}
}

View File

@@ -20,8 +20,10 @@ function forge_pathing_end_log(name, elapsed_time) {
function get_exclude_tags() {
var tags = [];
if (settings.exclude_fights) {
if (settings.fight_option === "全跳过") {
tags.push("fight");
} else if (settings.fight_option === "只跳过与精英怪战斗的路线") {
tags.push("elite enemy");
}
if (settings.exclude_natlan) {
tags.push("natlan");

View File

@@ -2,7 +2,7 @@
"bgi_version": "0.49.0",
"manifest_version": 1,
"name": "矿产资源批发",
"version": "0.5",
"version": "0.6",
"description": "自动记录矿石刷新时间,优先选择效率最高的路线,支持按区域、种类、数量自动规划挖矿路线",
"authors": [
{

View File

@@ -16,9 +16,15 @@
"label": " 3. 只在此时间段内运行如23:30~03:50空表示无限制👇"
},
{
"name": "exclude_fights",
"type": "checkbox",
"label": "---------------------------------------------------------------\n跳过有战斗👇"
"name": "fight_option",
"type": "select",
"label": "---------------------------------------------------------------\n需要战斗的路线👇",
"options": [
"正常挖",
"只跳过与精英怪战斗的路线",
"全跳过"
],
"default": "正常挖"
},
{
"name": "exclude_natlan",

View File

@@ -12,7 +12,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754796661375,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -127,4 +129,4 @@
"action_params": ""
}
]
}
}

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754818713032,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -378,4 +380,4 @@
"action_params": ""
}
]
}
}

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754892550189,
"enable_monster_loot_split": false,
"map_match_method": ""

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.45.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1755063737987,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -495,4 +497,4 @@
"action_params": ""
}
]
}
}

View File

@@ -11,7 +11,9 @@
"description": "",
"map_name": "Teyvat",
"bgi_version": "0.48.0",
"tags": [],
"tags": [
"精英怪"
],
"last_modified_time": 1754661637103,
"enable_monster_loot_split": false,
"map_match_method": ""
@@ -81,4 +83,4 @@
"action_params": ""
}
]
}
}