From bdf6eb1016b317887e9d3abef752771e5e0cbaa5 Mon Sep 17 00:00:00 2001 From: this-Fish Date: Wed, 25 Feb 2026 15:47:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=8E=86=E7=BB=83=E7=82=B9?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=AF=8F=E6=97=A5=E5=A7=94=E6=89=982.2.0=20(?= =?UTF-8?q?#2926)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add files via upload * Enable daily rewards in AutoSkip configuration * Update README.md * Enable auto-reexplore feature in daily rewards * Update version to 2.2.0 in manifest.json * Update version from 2.1.4 to 2.2.0 --- .../Assets/AutoPath/冒险家协会_蒙德.json | 98 +++++++++++-------- repo/js/使用历练点完成每日委托/README.md | 31 ++---- repo/js/使用历练点完成每日委托/main.js | 6 +- repo/js/使用历练点完成每日委托/manifest.json | 4 +- 4 files changed, 70 insertions(+), 69 deletions(-) diff --git a/repo/js/使用历练点完成每日委托/Assets/AutoPath/冒险家协会_蒙德.json b/repo/js/使用历练点完成每日委托/Assets/AutoPath/冒险家协会_蒙德.json index 1f97d6e92..07546b62d 100644 --- a/repo/js/使用历练点完成每日委托/Assets/AutoPath/冒险家协会_蒙德.json +++ b/repo/js/使用历练点完成每日委托/Assets/AutoPath/冒险家协会_蒙德.json @@ -1,44 +1,56 @@ -{ - "info": { - "name": "蒙德凯瑟琳", - "type": "collect", - "author": "½", - "version": "1.0", - "description": "", - "bgiVersion": "0.35.1" - }, - "positions": [ - { - "id": 1, - "x": -867.6884765625, - "y": 2281.365966796875, - "action": "", - "move_mode": "walk", - "type": "teleport" - }, - { - "id": 2, - "x": -882.1455078125, - "y": 2262.399658203125, - "action": "", - "move_mode": "walk", - "type": "path" - }, - { - "id": 3, - "x": -911.3125, - "y": 2240.5625, - "action": "", - "move_mode": "walk", - "type": "path" - }, - { - "id": 4, - "x": -913.5625, - "y": 2233.5625, - "action": "", - "move_mode": "walk", - "type": "path" - } - ] +{ + "info": { + "authors": [ + { + "links": "", + "name": "½" + } + ], + "bgiVersion": "0.35.1", + "bgi_version": "0.45.0", + "description": "", + "enable_monster_loot_split": false, + "last_modified_time": 1771998249955, + "map_match_method": "", + "map_name": "Teyvat", + "name": "冒险家协会_蒙德", + "tags": [], + "type": "collect", + "version": "2.0" + }, + "positions": [ + { + "action": "", + "id": 1, + "move_mode": "walk", + "type": "teleport", + "x": -867.6884765625, + "y": 2281.365966796875 + }, + { + "action": "", + "id": 2, + "move_mode": "walk", + "type": "path", + "x": -882.1455078125, + "y": 2262.399658203125 + }, + { + "action": "", + "id": 3, + "move_mode": "walk", + "type": "path", + "x": -911.3125, + "y": 2240.5625 + }, + { + "action": "", + "action_params": "", + "id": 4, + "move_mode": "walk", + "type": "path", + "x": -913.88671875, + "y": 2232.62890625 + } + ] } \ No newline at end of file diff --git a/repo/js/使用历练点完成每日委托/README.md b/repo/js/使用历练点完成每日委托/README.md index e448560b7..4d3fc9dd3 100644 --- a/repo/js/使用历练点完成每日委托/README.md +++ b/repo/js/使用历练点完成每日委托/README.md @@ -10,12 +10,7 @@ - 自动检查是否可以领取历练点奖励(需使用120体力) - 自动领取历练点奖励 -3. **灵活执行时间设置**: - - 可设置为每天执行 - - 或指定每周的特定几天执行(如只在周一、周三、周五执行) - - 自动处理凌晨时段(00:00~04:00视为前一天) - -4. **双倍好感度获取**: +3. **双倍好感度获取**: - **在好友的尘歌壶内,使用历练点完成每日委托可获取双倍好感度** - **需保持队伍为4人队伍,但可通过设置让指定位置角色离队,实际出战角色可≤2人** - 自动进入好友的尘歌壶 @@ -23,10 +18,10 @@ - 支持依次申请多个好友尘歌壶 - 可让指定位置角色离队,确保实际出战角色符合需求 -5. **自动检查是否可以使用历练点完成4个任务**: +4. **自动检查是否可以使用历练点完成4个任务**: - 如果运行时未识别到 完成4个任务,不领取历练点奖励 -6. **自动前往冒险家协会领取奖励**: +5. **自动前往冒险家协会领取奖励**: - 领取历练点奖励后,自动前往指定地区的冒险家协会领取每日委托奖励 - 支持多个地区选择(蒙德、璃月、稻妻、须弥、枫丹、挪德卡莱等) - 自动进行对话交互,完成奖励领取 @@ -68,14 +63,9 @@ - **注意**:不能同时让所有角色离队(至少保留1个角色在队伍中) - 离队操作在进入尘歌壶后自动执行 -### 时间设置技巧 -- 使用"0"设置为每天执行 -- 使用"1,3,5"设置为周一、三、五执行 -- 脚本会自动处理凌晨时段(00:00-04:00视为前一天) - ### 冒险家协会地区选择 -- 推荐设置为"枫丹",路程较短 -- 可根据需要选择其他地区(蒙德、璃月、稻妻、须弥等) +- 推荐设置为"挪德卡莱",路程较短 +- 可根据需要选择其他地区 ## 常见问题 @@ -92,11 +82,6 @@ A:请检查: 1. 是否正确勾选了角色位置 2. 游戏是否处于可切换队伍状态 -**Q:如何知道今天是否会执行脚本?** -A:脚本日志会显示: -- "今天是星期X,开始使用历练点完成每日委托" -- 或"今天是星期X,不使用历练点" - **Q:为什么切换队伍失败?** A:可能因为: 1. 处于联机模式 @@ -108,8 +93,9 @@ A:请检查: 1. 是否已经完成所有每日委托 2. 是否已经领取过奖励 3. 自动寻路是否正常执行 -4. BGI是否最新版 -5. 队伍是否4人 +4. 队伍是否4人 +5. BGI是否最新版 +6. BGI是否未适配新角色 ## 注意事项 @@ -119,3 +105,4 @@ A:请检查: 4. 若使用指定好友功能,请确保**好友名称完全匹配** 5. 确保有足够的历练点可以领取(需完成所有每日委托并消耗120体力) 6. 冒险家协会领奖功能依赖自动寻路,请确保游戏内队伍为4人队伍 + diff --git a/repo/js/使用历练点完成每日委托/main.js b/repo/js/使用历练点完成每日委托/main.js index 8da453f07..a3cd2adec 100644 --- a/repo/js/使用历练点完成每日委托/main.js +++ b/repo/js/使用历练点完成每日委托/main.js @@ -1,4 +1,4 @@ -// 當前版本2.1.4 +// 當前版本2.2.0 // Encounter Points const AdventurerHandbookButtonRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("Assets/RecognitionObject/Adventurer Handbook Button.png"), 100, 300, 700, 700); const EncounterPointsStageRewardsRo = RecognitionObject.TemplateMatch(file.ReadImageMatSync("Assets/RecognitionObject/Encounter Points Stage Rewards.png"), 1500, 700, 100, 100); @@ -711,7 +711,9 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用 await sleep(1000); // 利用自動劇情領奬 let config = new AutoSkipConfig(); + config.AutoGetDailyRewardsEnabled = true; config.AutoReExploreEnabled = true; + dispatcher.addTimer(new RealtimeTimer("AutoSkip", config)); await sleep(10000); await genshin.returnMainUi(); @@ -719,4 +721,4 @@ const adventurePath = settings.adventurePath || '蒙德'; // 若未定义,用 log.info(`交互或拾取:"领取完成"`); } -})(); \ No newline at end of file +})(); diff --git a/repo/js/使用历练点完成每日委托/manifest.json b/repo/js/使用历练点完成每日委托/manifest.json index 86ffca1d9..4f4ea0cc3 100644 --- a/repo/js/使用历练点完成每日委托/manifest.json +++ b/repo/js/使用历练点完成每日委托/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 1, "name": "使用历练点完成每日委托", - "version": "2.1.4", + "version": "2.2.0", "bgi_version": "0.44.1", "description": "使用历练点完成每日委托:\n支持进入好友尘歌壶,使用历练点领取双倍好感(队伍中小于等于两人时,能使队伍中两人获得双倍好感)\n支持进入好友尘歌壶后,让指定位置角色离队\n能指定星期几执行,星期几不执行\n前往冒险家协会领取奖励", "authors": [ @@ -16,4 +16,4 @@ ], "settings_ui": "settings.json", "main": "main.js" -} \ No newline at end of file +}