Compare commits

...
Author SHA1 Message Date
辉鸭蛋 a3e24d7d12 Merge remote-tracking branch 'origin/main' into i18n-v2
# Conflicts:
#	BetterGenshinImpact/App.xaml
#	BetterGenshinImpact/BetterGenshinImpact.csproj
2026-02-14 16:44:59 +08:00
ddaodanand辉鸭蛋 c24329eca6 新增:自动地脉花独立任务 (#2583)
* 新增自动地脉花任务代码

* 新增自动地脉花任务资源

* 优化自动地脉花界面文案

* 删除地脉花旧脚本与无用资源

* 完善自动地脉花说明与任务日志

* 完善一条龙地脉花配置与教程入口

* feat: Enhance AutoLeyLineOutcrop functionality and add new pathing data

- Refactored combat text detection logic to improve accuracy.
- Added new regions and positions for "挪德卡莱" in LeyLineOutcropData.json.
- Introduced new pathing files for "挪德卡莱4-望崖营垒" and "挪德卡莱5-厄布拉神柱".
- Updated config.json with new strategies and coordinates for enhanced navigation.
- Improved error handling during party switch operations.
- Removed outdated README.md file from pathing assets.

* 修复一些日志打印

* 移动所有assets文件

* feat: clear drawn content in VisionContext before activating mask window

---------

Co-authored-by: 辉鸭蛋 <[email protected]>
2026-02-14 16:35:17 +08:00
辉鸭蛋 57421b9a45 Update README.md 2026-02-14 16:15:32 +08:00
DarkFlameMaster efc66e6062 feat:AutoDomain支持领奖时切换20/40原粹树脂,仅JS可用 (#2783)
* feat:AutoDomain支持领奖时切换20/40原粹树脂,仅JS可用

* fix bug

* chore

* fix:捕获重试耗尽异常,GameTaskManager资源重载
2026-02-14 16:12:24 +08:00
huiyadanli e8c067f7c0 Update version to 0.56.3-alpha.2 2026-02-13 15:29:26 +00:00
292dc8fb4f feat: 显示后台角色技能cd (#2754)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: 辉鸭蛋 <[email protected]>
2026-02-13 23:19:32 +08:00
this-Fish 0d466e5022 修改二次拾取,使万叶能再次拾取。 (#2760) 2026-02-13 22:24:27 +08:00
躁动的氨气 908294e2fe feat: 优化地图遮罩UI,添加快捷键 (#2775) 2026-02-13 21:20:28 +08:00
躁动的氨气 b3e2a08a6d feat: 修改仓库页面构建地址 (#2778) 2026-02-13 21:18:25 +08:00
辉鸭蛋 c28aba2bab hide map mask on run task https://github.com/babalae/bettergi-scripts-list/issues/2870 2026-02-13 21:17:30 +08:00
辉鸭蛋 aaea43984d feat(ui): 添加更新UI语言文件功能
- 在 ITranslationService 接口中添加 Reload 方法
- 在 JsonTranslationService 中实现 Reload 方法,支持重新加载语言文件并发送变更通知
- 在通用设置页面添加“更新”按钮,点击后从远程仓库下载最新语言文件
- 实现 OnUpdateUiLanguageAsync 命令,支持从 GitHub 和镜像源下载语言文件
- 下载后自动替换本地文件并重新加载翻译服务
2026-02-13 20:54:57 +08:00
辉鸭蛋 f245fb9ea6 fix: 修复自动翻译功能中原始值恢复和重复报告问题
- 移除未使用的法语翻译支持以简化语言选项
- 修复 Supabase 报告序列化时移除冗余字段
- 添加已缺失翻译键的缓存以避免重复报告
- 重构自动翻译拦截器,将原始值存储移至依赖属性
- 修复原始值恢复逻辑,确保正确遍历所有子元素
2026-02-13 14:19:05 +08:00
辉鸭蛋 9ae9c12cfa feat(translation): 添加缺失翻译上报至 Supabase 的功能
- 新增 IMissingTranslationReporter 接口及 SupabaseMissingTranslationReporter 实现
- 在 JsonTranslationService 中集成缺失翻译上报逻辑
- 添加缺失翻译收集的配置设置(MissingTranslationCollectionSettings)
- 优化缺失翻译文件的序列化格式,将 Source 字段改为紧凑的数字表示
- 移除 ScriptRepoUpdater 中未使用的 using 语句
- 在 App.xaml.cs 中注册 SupabaseMissingTranslationReporter 服务
2026-02-13 10:11:11 +08:00
辉鸭蛋 3812826b28 fix: 修复自动翻译拦截器在组合框上下文中的误触发
在自动翻译拦截器中添加了 IsInComboBoxContext 方法,用于检测依赖对象是否处于 ComboBox 或其相关弹出菜单的上下文中。当检测到对象位于组合框上下文时,跳过自动翻译逻辑,避免对下拉选项等界面元素进行不必要的翻译操作,从而解决潜在的界面干扰问题。
2026-02-12 13:30:24 +08:00
辉鸭蛋 e1bc2d01db fix: 跳过 GridViewRowPresenter 中的文本翻译
添加 IsInGridViewRowPresenter 检查,避免在 GridViewRowPresenter 控件内进行自动翻译,防止潜在的界面显示问题。
2026-02-12 00:00:38 +08:00
辉鸭蛋 b0e15ae925 Revert "feat(自动翻译): 添加排除自动翻译的依赖属性"
This reverts commit a1c2334951.
2026-02-11 23:59:16 +08:00
辉鸭蛋 7dd0e76ff2 feat(translation): 为缺失文本翻译添加详细上下文信息
扩展翻译服务以收集缺失文本的详细上下文,包括视图路径、元素类型、属性名等。
重构 `ITranslationService` 接口,引入 `TranslationSourceInfo` 类封装上下文信息。
修改 `AutoTranslateInterceptor` 自动收集 UI 元素信息,`JsonTranslationService` 合并多来源上下文。
2026-02-11 23:58:53 +08:00
辉鸭蛋 a1c2334951 feat(自动翻译): 添加排除自动翻译的依赖属性
在 AutoTranslateInterceptor 中新增 ExcludeAutoTranslate 附加属性,允许对特定依赖对象禁用自动翻译功能。当遍历元素进行翻译时,会检查此属性并跳过已标记排除的元素。
2026-02-11 23:24:24 +08:00
辉鸭蛋 4fa675fdab Merge remote-tracking branch 'origin/main' into i18n-v2 2026-02-11 23:00:52 +08:00
辉鸭蛋 08583c776f Merge remote-tracking branch 'origin/main' 2026-02-10 22:43:27 +08:00
辉鸭蛋 e15a1d7276 触发器多次触发改为30s 2026-02-10 22:43:17 +08:00
躁动的氨气 f80afc0244 fix: 日志遮罩扩大行数显示限制 (#2773) 2026-02-09 21:22:39 +08:00
huiyadanli 2caa6ee9f3 Update version to 0.56.3-alpha.1 2026-02-08 07:27:35 +00:00
Jamis 2f2311aa68 Fix rare welkin moon stuck issue (#2765) 2026-02-08 15:18:43 +08:00
躁动的氨气 4f7afb6a34 fix: 阻止默认的委托和派遣橙色点击 (#2762) 2026-02-08 00:36:09 +08:00
躁动的氨气andcoderabbitai[bot] 2f3ca34704 fix: 键鼠回调改为异步事件分发 (#2741)
* fix: 键鼠回调改为异步事件分发

* 添加队列限制与并行锁

* Update BetterGenshinImpact/Core/Script/Dependence/KeyMouseHook.cs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* 只允许外部dispose

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-02-07 16:58:07 +08:00
躁动的氨气 ea1a30a685 fix: 每日委托领奖使用点击屏幕 (#2761) 2026-02-07 16:51:28 +08:00
辉鸭蛋 b61ceae5ea 地图遮罩开关实时生效 2026-02-06 02:46:09 +08:00
this-Fish bf3957d4e8 优化换队拾取 (#2748)
* 优化换队拾取

需要换队拾取拾取时才执行换队拾取操作

* Add files via upload
2026-02-06 00:58:37 +08:00
辉鸭蛋 7c026fcf5f UI变化了后的10s内则所有触发器执行一遍,修复遮罩控件部分场景下残留的问题 2026-02-06 00:43:42 +08:00
ShadowLemoon 50055c3f26 feat: 状态机 (#2712) 2026-02-05 01:48:46 +08:00
躁动的氨气 6b2f2543c4 feat: 支持仓库使用公共资源 (#2716) 2026-02-05 01:48:06 +08:00
Ayu0K a24dd1c778 fix: 修复 RunMulti 中 Mat 所有权语义不明确导致的潜在 Dispose 问题 (#2730) 2026-02-05 01:37:18 +08:00
bling-yshs 2ced2862b3 fix: 修复 JS 脚本 multi-checkbox 配置项删除后仍能读取到旧值的问题 (#2725) 2026-02-05 01:36:08 +08:00
躁动的氨气 73422860af feat: 调整时间使用更短的延时 (#2738) 2026-02-04 19:44:21 +08:00
huiyadanli b5787aa9d3 Update version to 0.56.2 2026-02-03 14:46:22 +00:00
辉鸭蛋 f38e3e05ae 重置选项移动 2026-02-03 21:51:17 +08:00
辉鸭蛋 db67429350 fix: 调整事件触发顺序并修复地图点选择器状态
修复 PointsCanvas 中 ViewportChanged 事件与 Refresh 方法的调用顺序,确保界面正确更新。
在 MaskWindow 中增加关闭地图点选择器的逻辑,避免状态不一致。
2026-02-03 20:56:54 +08:00
辉鸭蛋 5484aea335 Revert "遮罩内 Popup 保持置顶"
This reverts commit ff3e89aa1c.
2026-02-03 20:40:05 +08:00
躁动的氨气 a948c70baf feat: 简化自动战斗日志输出 (#2732) 2026-02-03 17:35:23 +08:00
huiyadanli 688bdcd8ae Update version to 0.56.1 2026-02-02 18:22:32 +00:00
辉鸭蛋 3f2f45e3b1 fix: update BetterGI.Assets.Other package version to 1.0.12 2026-02-03 02:20:48 +08:00
辉鸭蛋 ff3e89aa1c 遮罩内 Popup 保持置顶 2026-02-03 02:19:58 +08:00
huiyadanli ddf1c72ba3 Update version to 0.56.0 2026-02-02 17:08:45 +00:00
辉鸭蛋 a651bbfbe5 优化更新界面UI与交互 2026-02-03 00:59:58 +08:00
kaedelcb a9cf0dcfb3 优化换队拾取和切换队伍 (#2729) 2026-02-03 00:39:39 +08:00
辉鸭蛋 e3caf32b94 Revise asset instructions and GitHub Actions setup
Updated README to reflect changes in asset handling and GitHub Actions.
2026-01-29 16:09:18 +08:00
huiyadanli 0761652e31 Update version to 0.55.2-alpha.2 2026-01-28 17:06:04 +00:00
辉鸭蛋 abc2b5dd19 fix: 修复地图标签搜索窗口DPI缩放和关闭逻辑
修复地图标签搜索窗口在高DPI缩放下的定位问题,调整计算方式以适配系统缩放比例。
同时确保地图点选择器关闭时同步隐藏搜索窗口,避免窗口残留。
2026-01-29 01:02:38 +08:00
辉鸭蛋 200f904a64 fix: 调整日志级别及UI元素位置比例
将米游社地图接口调用失败日志级别从Warning降为Debug,避免频繁警告干扰
调整日志文本框和状态列表的顶部位置及宽度比例,优化界面布局
2026-01-29 00:17:02 +08:00
辉鸭蛋 ab498fa731 fix: 调整截图预览区域尺寸以适应不同分辨率
调整 MaskWindow 中截图预览区域的列宽比例,将固定宽高改为最大宽高并启用拉伸对齐,提升在不同屏幕分辨率下的显示适应性。
2026-01-28 23:42:30 +08:00
辉鸭蛋 9f46bb3588 feat(ui): 添加软件UI语言设置并改进翻译服务
- 在通用设置页面新增UI语言选择控件,支持动态切换界面语言
- 修改游戏语言标签为“原神游戏语言”以明确区分
- 改进JsonTranslationService,支持UI语言切换时的实时翻译更新
- 优化AutoTranslateInterceptor,缓存原始文本值并在语言切换时恢复
- 添加属性变更监听机制,确保UI元素在语言切换后正确刷新
2026-01-28 02:58:07 +08:00
辉鸭蛋 1a97e83f74 feat(i18n): 添加国际化目录支持并优化异常处理 2026-01-28 02:24:10 +08:00
辉鸭蛋 42ef97b1cd Revert "feat: 为多个窗口启用自动翻译拦截器"
This reverts commit fc942bd8cd.
2026-01-28 01:24:04 +08:00
辉鸭蛋 3beb762223 Merge remote-tracking branch 'origin/main' 2026-01-28 01:22:24 +08:00
辉鸭蛋 fc942bd8cd feat: 为多个窗口启用自动翻译拦截器
为 MapLabelSearchWindow、ArtifactOcrDialog、PromptDialog 等十三个 WPF 窗口添加了 AutoTranslateInterceptor 行为,以启用自动翻译功能。这确保了应用程序界面的文本内容在需要时可以被正确拦截并处理,提升国际化支持。
2026-01-28 01:22:09 +08:00
ema da80dd02c4 修复部分组件未随主题变更颜色 #2644 (#2699) 2026-01-27 12:28:24 +08:00
辉鸭蛋 e4aedd9497 feat(ui): 为多个窗口启用自动翻译拦截器
为 MapLabelSearchWindow、ArtifactOcrDialog、PromptDialog 等 14 个窗口添加了 AutoTranslateInterceptor.EnableAutoTranslate 属性,以启用自动翻译拦截功能。
2026-01-27 04:21:49 +08:00
辉鸭蛋 ba930ef41b fix: 移除全局自动翻译拦截器以避免冲突
移除在 App.xaml 中为 Window、UserControl 和 Page 全局设置的 AutoTranslateInterceptor,
改为仅在 PickerWindow 中显式启用。这解决了全局样式可能导致的意外行为或冲突。
2026-01-27 04:09:06 +08:00
辉鸭蛋 7fbedddea4 refactor(AutoTranslateInterceptor): 优化自动翻译拦截器的加载与应用机制
- 移除 HomePage 中冗余的 EnableAutoTranslate 属性设置,改为继承属性
- 通过类构造函数注册全局 Loaded 事件处理器,替代在每个元素上单独添加
- 引入请求队列机制,批量处理待应用翻译的元素,避免重复调度
- 扩展属性类型检查,支持 object 类型以处理更多动态内容场景
2026-01-27 03:49:34 +08:00
辉鸭蛋 128a739a8c feat(i18n): 添加界面与日志的国际化支持
- 新增 ITranslationService 接口及 JsonTranslationService 实现,提供基于 JSON 的翻译服务
- 添加 TrConverter 转换器,支持通过绑定动态翻译界面文本
- 引入 AutoTranslateInterceptor 行为,自动扫描并翻译界面中的静态文本
- 集成 TranslatingSerilogLoggerProvider,实现日志输出的实时翻译
- 在 App.xaml 中注册全局样式,为 Window、UserControl 和 Page 启用自动翻译
2026-01-27 03:07:44 +08:00
724 changed files with 41940 additions and 1102 deletions

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: A-Little-AnQi/bettergi-script-web
repository: zaodonganqi/bettergi-script-web
- uses: actions/setup-node@v4
with:
node-version: 20
+2
View File
@@ -24,6 +24,8 @@
<bgivc:NotNullConverter x:Key="NotNullConverter" />
<bgivc:EnumToKVPConverter x:Key="EnumToKVPConverter" />
<bgivc:CultureInfoNameToKVPConverter x:Key="CultureInfoNameToKVPConverter" />
<bgivc:StringToColorConverter x:Key="StringToColorConverter" />
<bgivc:TrConverter x:Key="TrConverter" />
<Style BasedOn="{StaticResource DefaultTextBoxStyle}" TargetType="{x:Type TextBox}">
<Setter Property="behavior:ClipboardInterceptor.EnableSafeClipboard" Value="True" />
</Style>
+7 -1
View File
@@ -86,7 +86,13 @@ public partial class App : Application
}
Log.Logger = loggerConfiguration.CreateLogger();
services.AddLogging(c => c.AddSerilog());
services.AddSingleton<IMissingTranslationReporter, SupabaseMissingTranslationReporter>();
services.AddSingleton<ITranslationService, JsonTranslationService>();
services.AddLogging(logging =>
{
logging.ClearProviders();
logging.Services.AddSingleton<ILoggerProvider, TranslatingSerilogLoggerProvider>();
});
services.AddLocalization();
+13 -3
View File
@@ -2,7 +2,7 @@
<PropertyGroup>
<AssemblyName>BetterGI</AssemblyName>
<Version>0.55.2-alpha.1</Version>
<Version>0.56.3-alpha.2</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
@@ -45,7 +45,7 @@
<PackageReference Include="BetterGI.VCRuntime" Version="14.44.35208" />
<PackageReference Include="BetterGI.Assets.Map" Version="1.0.17" />
<PackageReference Include="BetterGI.Assets.Model" Version="1.0.18" />
<PackageReference Include="BetterGI.Assets.Other" Version="1.0.10" />
<PackageReference Include="BetterGI.Assets.Other" Version="1.0.12" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="DeviceId" Version="6.9.0" />
@@ -84,6 +84,7 @@
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.RichTextBoxEx.Wpf" Version="1.1.0.1" />
<!-- <PackageReference Include="supabase-csharp" Version="0.16.2" />-->
<PackageReference Include="System.Drawing.Common" Version="10.0.0" />
<PackageReference Include="System.IO.Hashing" Version="9.0.4" />
<PackageReference Include="TorchSharp" Version="0.105.0" />
@@ -94,7 +95,7 @@
<PackageReference Include="WPF-UI" Version="4.2.0" />
<PackageReference Include="WPF-UI.DependencyInjection" Version="4.2.0" />
<PackageReference Include="WPF-UI.Tray" Version="4.2.0" />
<PackageReference Include="WPF-UI.Violeta" Version="4.2.0" />
<PackageReference Include="WPF-UI.Violeta" Version="4.2.0.1" />
<PackageReference Include="gong-wpf-dragdrop" Version="3.2.1" />
<PackageReference Include="YamlDotNet" Version="16.3.0" />
<PackageReference Include="YoloSharp" Version="6.0.3" />
@@ -128,6 +129,9 @@
<None Update="GameTask\AutoFishing\Assets\1920x1080\**">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="GameTask\AutoLeyLineOutcrop\Assets\**">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="GameTask\LogParse\Assets\**">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
@@ -194,6 +198,12 @@
<None Update="GameTask\Common\Element\Assets\1920x1080\in_domain.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="GameTask\AutoDomain\Assets\1920x1080\**">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="User\I18n\en.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
+16 -2
View File
@@ -22,7 +22,9 @@ using BetterGenshinImpact.GameTask.AutoArtifactSalvage;
using BetterGenshinImpact.GameTask.AutoStygianOnslaught;
using BetterGenshinImpact.GameTask.GetGridIcons;
using BetterGenshinImpact.GameTask.AutoEat;
using BetterGenshinImpact.GameTask.AutoLeyLineOutcrop;
using BetterGenshinImpact.GameTask.MapMask;
using BetterGenshinImpact.GameTask.SkillCd;
using BetterGenshinImpact.GameTask.UseRedeemCode;
namespace BetterGenshinImpact.Core.Config;
@@ -172,12 +174,22 @@ public partial class AllConfig : ObservableObject
/// 自动吃药配置
/// </summary>
public AutoEatConfig AutoEatConfig { get; set; } = new();
/// <summary>
/// 自动地脉花配置
/// </summary>
public AutoLeyLineOutcropConfig AutoLeyLineOutcropConfig { get; set; } = new();
/// <summary>
/// 地图遮罩
/// </summary>
public MapMaskConfig MapMaskConfig { get; set; } = new();
/// <summary>
/// 技能 CD 提示
/// </summary>
public SkillCdConfig SkillCdConfig { get; set; } = new();
/// <summary>
/// 自动使用
/// </summary>
@@ -267,6 +279,7 @@ public partial class AllConfig : ObservableObject
AutoArtifactSalvageConfig.PropertyChanged += OnAnyPropertyChanged;
AutoRedeemCodeConfig.PropertyChanged += OnAnyPropertyChanged;
AutoEatConfig.PropertyChanged += OnAnyPropertyChanged;
AutoLeyLineOutcropConfig.PropertyChanged += OnAnyPropertyChanged;
MapMaskConfig.PropertyChanged += OnAnyPropertyChanged;
AutoMusicGameConfig.PropertyChanged += OnAnyPropertyChanged;
TpConfig.PropertyChanged += OnAnyPropertyChanged;
@@ -274,6 +287,7 @@ public partial class AllConfig : ObservableObject
PathingConditionConfig.PropertyChanged += OnAnyPropertyChanged;
DevConfig.PropertyChanged += OnAnyPropertyChanged;
HardwareAccelerationConfig.PropertyChanged += OnAnyPropertyChanged;
SkillCdConfig.PropertyChanged += OnAnyPropertyChanged;
}
public void OnAnyPropertyChanged(object? sender, EventArgs args)
@@ -286,4 +300,4 @@ public partial class AllConfig : ObservableObject
{
NotificationService.Instance().RefreshNotifiers();
}
}
}
@@ -1,4 +1,4 @@
using BetterGenshinImpact.Model;
using BetterGenshinImpact.Model;
using CommunityToolkit.Mvvm.ComponentModel;
using System;
@@ -100,6 +100,13 @@ public partial class HotKeyConfig : ObservableObject
[ObservableProperty]
private string _quickTeleportTickHotkeyType = HotKeyTypeEnum.KeyboardMonitor.ToString();
// 技能CD提示开关
[ObservableProperty]
private string _skillCdEnabledHotkey = "";
[ObservableProperty]
private string _skillCdEnabledHotkeyType = HotKeyTypeEnum.KeyboardMonitor.ToString();
// 截图
[ObservableProperty]
@@ -237,4 +244,11 @@ public partial class HotKeyConfig : ObservableObject
[ObservableProperty]
private string _onedragonHotkeyType = HotKeyTypeEnum.KeyboardMonitor.ToString();
// 地图遮罩开关
[ObservableProperty]
private string _mapMaskEnabledHotkey = "";
[ObservableProperty]
private string _mapMaskEnabledHotkeyType = HotKeyTypeEnum.KeyboardMonitor.ToString();
}
@@ -83,10 +83,10 @@ public partial class MaskWindowConfig : ObservableObject
private double _logTextBoxLeftRatio = 20.0 / 1920;
[ObservableProperty]
private double _logTextBoxTopRatio = 832.0 / 1080;
private double _logTextBoxTopRatio = 822.0 / 1080;
[ObservableProperty]
private double _logTextBoxWidthRatio = 477.0 / 1920;
private double _logTextBoxWidthRatio = 480.0 / 1920;
[ObservableProperty]
private double _logTextBoxHeightRatio = 188.0 / 1080;
@@ -95,10 +95,10 @@ public partial class MaskWindowConfig : ObservableObject
private double _statusListLeftRatio = 20.0 / 1920;
[ObservableProperty]
private double _statusListTopRatio = 807.0 / 1080;
private double _statusListTopRatio = 790.0 / 1080;
[ObservableProperty]
private double _statusListWidthRatio = 477.0 / 1920;
private double _statusListWidthRatio = 480.0 / 1920;
[ObservableProperty]
private double _statusListHeightRatio = 24.0 / 1080;
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using BetterGenshinImpact.GameTask;
using BetterGenshinImpact.GameTask.AutoLeyLineOutcrop;
using BetterGenshinImpact.Helpers;
using CommunityToolkit.Mvvm.ComponentModel;
@@ -61,6 +62,87 @@ public partial class OneDragonFlowConfig : ObservableObject
[ObservableProperty]
private List<string> _secretTreasureObjects = new();
// 地脉花一条龙模式(跳过部分准备流程)
[ObservableProperty]
private bool _leyLineOneDragonMode = false;
// 地脉花运行日期设置
[ObservableProperty]
private bool _leyLineRunMonday = true;
[ObservableProperty]
private bool _leyLineRunTuesday = true;
[ObservableProperty]
private bool _leyLineRunWednesday = true;
[ObservableProperty]
private bool _leyLineRunThursday = true;
[ObservableProperty]
private bool _leyLineRunFriday = true;
[ObservableProperty]
private bool _leyLineRunSaturday = true;
[ObservableProperty]
private bool _leyLineRunSunday = true;
// 地脉花每日类型与国家配置(为空则使用独立任务配置)
[ObservableProperty]
private string _leyLineMondayType = string.Empty;
[ObservableProperty]
private string _leyLineMondayCountry = string.Empty;
[ObservableProperty]
private string _leyLineTuesdayType = string.Empty;
[ObservableProperty]
private string _leyLineTuesdayCountry = string.Empty;
[ObservableProperty]
private string _leyLineWednesdayType = string.Empty;
[ObservableProperty]
private string _leyLineWednesdayCountry = string.Empty;
[ObservableProperty]
private string _leyLineThursdayType = string.Empty;
[ObservableProperty]
private string _leyLineThursdayCountry = string.Empty;
[ObservableProperty]
private string _leyLineFridayType = string.Empty;
[ObservableProperty]
private string _leyLineFridayCountry = string.Empty;
[ObservableProperty]
private string _leyLineSaturdayType = string.Empty;
[ObservableProperty]
private string _leyLineSaturdayCountry = string.Empty;
[ObservableProperty]
private string _leyLineSundayType = string.Empty;
[ObservableProperty]
private string _leyLineSundayCountry = string.Empty;
// 地脉花刷取次数(0 表示使用独立任务配置)
[ObservableProperty]
private int _leyLineRunCount = 0;
// 地脉花树脂耗尽模式
[ObservableProperty]
private bool _leyLineResinExhaustionMode = false;
// 地脉花刷取次数取小值(仅耗尽模式生效)
[ObservableProperty]
private bool _leyLineOpenModeCountMin = false;
#region 每周秘境配置
//周一
@@ -142,5 +224,62 @@ public partial class OneDragonFlowConfig : ObservableObject
}
}
public bool ShouldRunLeyLineToday()
{
if (!LeyLineRunMonday
&& !LeyLineRunTuesday
&& !LeyLineRunWednesday
&& !LeyLineRunThursday
&& !LeyLineRunFriday
&& !LeyLineRunSaturday
&& !LeyLineRunSunday)
{
return true;
}
var serverTime = ServerTimeHelper.GetServerTimeNow();
var dayOfWeek = (serverTime.Hour >= 4 ? serverTime : serverTime.AddDays(-1)).DayOfWeek;
return dayOfWeek switch
{
DayOfWeek.Monday => LeyLineRunMonday,
DayOfWeek.Tuesday => LeyLineRunTuesday,
DayOfWeek.Wednesday => LeyLineRunWednesday,
DayOfWeek.Thursday => LeyLineRunThursday,
DayOfWeek.Friday => LeyLineRunFriday,
DayOfWeek.Saturday => LeyLineRunSaturday,
DayOfWeek.Sunday => LeyLineRunSunday,
_ => true
};
}
public (string type, string country) GetLeyLineConfigForToday(AutoLeyLineOutcropConfig fallback)
{
var serverTime = ServerTimeHelper.GetServerTimeNow();
var dayOfWeek = (serverTime.Hour >= 4 ? serverTime : serverTime.AddDays(-1)).DayOfWeek;
var (type, country) = dayOfWeek switch
{
DayOfWeek.Monday => (LeyLineMondayType, LeyLineMondayCountry),
DayOfWeek.Tuesday => (LeyLineTuesdayType, LeyLineTuesdayCountry),
DayOfWeek.Wednesday => (LeyLineWednesdayType, LeyLineWednesdayCountry),
DayOfWeek.Thursday => (LeyLineThursdayType, LeyLineThursdayCountry),
DayOfWeek.Friday => (LeyLineFridayType, LeyLineFridayCountry),
DayOfWeek.Saturday => (LeyLineSaturdayType, LeyLineSaturdayCountry),
DayOfWeek.Sunday => (LeyLineSundayType, LeyLineSundayCountry),
_ => (string.Empty, string.Empty)
};
if (string.IsNullOrWhiteSpace(type))
{
type = fallback.LeyLineOutcropType;
}
if (string.IsNullOrWhiteSpace(country))
{
country = fallback.Country;
}
return (type, country);
}
#endregion
}
}
@@ -1,4 +1,4 @@
using System;
using System;
using BetterGenshinImpact.Core.Recognition;
using BetterGenshinImpact.Model;
using CommunityToolkit.Mvvm.ComponentModel;
@@ -121,4 +121,4 @@ public partial class OtherConfig : ObservableObject
/// </summary>
[ObservableProperty]
private string _uiCultureInfoName = "zh-Hans";
}
}
@@ -95,21 +95,33 @@ public class Rec(
// .AsParallel()
.Select(src =>
{
using var channel3 = src.Channels() switch
Mat? channel3 = default;
try
{
4 => src.CvtColor(ColorConversionCodes.BGRA2BGR),
1 => src.CvtColor(ColorConversionCodes.GRAY2BGR),
3 => src,
var x => throw new Exception($"Unexpect src channel: {x}, allow: (1/3/4)")
};
var result = OcrUtils.ResizeNormImg(channel3, new OcrShape(3, maxWidth, modelHeight),
out var owner);
lock (owners)
{
owners.Add(owner);
}
channel3 = src.Channels() switch
{
4 => src.CvtColor(ColorConversionCodes.BGRA2BGR),
1 => src.CvtColor(ColorConversionCodes.GRAY2BGR),
3 => src,
var x => throw new Exception($"Unexpect src channel: {x}, allow: (1/3/4)")
};
var result = OcrUtils.ResizeNormImg(channel3, new OcrShape(3, maxWidth, modelHeight),
out var owner);
lock (owners)
{
owners.Add(owner);
}
return result;
return result;
}
finally
{
// Only dispose Mats created in this scope
if (channel3 != null && !ReferenceEquals(channel3, src))
{
channel3.Dispose();
}
}
})
.Select(inputTensor =>
{
@@ -1,5 +1,7 @@
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using BetterGenshinImpact.Core.Monitor;
using BetterGenshinImpact.GameTask;
@@ -40,6 +42,9 @@ public class KeyMouseHook: IDisposable
private EventHandler<MouseEventExtArgs>? _mouseMoveExtHandler;
private EventHandler<MouseEventExtArgs>? _mouseWheelExtHandler;
private readonly object _mouseMoveLock = new();
private DateTime _lastProcessMouseMoveTime = DateTime.MinValue;
private readonly ILogger<KeyMouseHook> _logger = App.GetLogger<KeyMouseHook>();
/// <summary>
@@ -110,182 +115,259 @@ public class KeyMouseHook: IDisposable
}
}
private readonly System.Threading.Channels.Channel<Action> _eventChannel =
System.Threading.Channels.Channel.CreateBounded<Action>(
new System.Threading.Channels.BoundedChannelOptions(2048)
{
FullMode = System.Threading.Channels.BoundedChannelFullMode.Wait,
SingleReader = true,
SingleWriter = false
});
private readonly CancellationTokenSource _cts = new();
public KeyMouseHook()
{
// 启动后台事件处理器,确保不阻塞钩子线程
_ = Task.Run(async () =>
{
try
{
var reader = _eventChannel.Reader;
while (await reader.WaitToReadAsync(_cts.Token))
{
while (reader.TryRead(out var action))
{
try
{
action();
}
catch (Exception ex)
{
// 内部错误已在 action 闭包中通过 HandleCallbackException 处理
}
}
}
}
catch (OperationCanceledException) { }
catch (Exception ex)
{
_logger.LogError(ex, "键鼠钩子后台处理器发生异常");
}
});
// 初始化事件处理程序
_keyDownHandler = (_, args) =>
{
// 创建回调列表的副本,避免迭代期间修改集合导致异常
if (_keyDownDataCallbacks.Count == 0 && _keyDownCodeCallbacks.Count == 0) return;
var keyDownDataCallbacksCopy = new List<ScriptObject>(_keyDownDataCallbacks);
var keyDownCodeCallbacksCopy = new List<ScriptObject>(_keyDownCodeCallbacks);
// 调用KeyData回调
foreach (var callback in keyDownDataCallbacksCopy)
{
try
var keyDataStr = args.KeyData.ToString();
var keyCodeStr = args.KeyCode.ToString();
if (!_eventChannel.Writer.TryWrite(() =>
{
callback.InvokeAsFunction(args.KeyData.ToString());
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘按下事件");
return;
}
}
// 调用KeyCode回调
foreach (var callback in keyDownCodeCallbacksCopy)
{
try
{
callback.InvokeAsFunction(args.KeyCode.ToString());
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘按下事件");
return;
}
// 调用KeyData回调
foreach (var callback in keyDownDataCallbacksCopy)
{
try
{
callback.InvokeAsFunction(keyDataStr);
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘按下事件");
return;
}
}
// 调用KeyCode回调
foreach (var callback in keyDownCodeCallbacksCopy)
{
try
{
callback.InvokeAsFunction(keyCodeStr);
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘按下事件");
return;
}
}
}))
{
_logger.LogWarning("事件队列已满或已关闭,忽略键盘按下回调");
}
};
_keyUpHandler = (_, args) =>
{
// 创建回调列表的副本,避免迭代期间修改集合导致异常
if (_keyUpDataCallbacks.Count == 0 && _keyUpCodeCallbacks.Count == 0) return;
var keyUpDataCallbacksCopy = new List<ScriptObject>(_keyUpDataCallbacks);
var keyUpCodeCallbacksCopy = new List<ScriptObject>(_keyUpCodeCallbacks);
// 调用KeyData回调
foreach (var callback in keyUpDataCallbacksCopy)
{
try
var keyDataStr = args.KeyData.ToString();
var keyCodeStr = args.KeyCode.ToString();
if (!_eventChannel.Writer.TryWrite(() =>
{
callback.InvokeAsFunction(args.KeyData.ToString());
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘释放事件");
return;
}
}
// 调用KeyCode回调
foreach (var callback in keyUpCodeCallbacksCopy)
{
try
{
callback.InvokeAsFunction(args.KeyCode.ToString());
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘释放事件");
return;
}
// 调用KeyData回调
foreach (var callback in keyUpDataCallbacksCopy)
{
try
{
callback.InvokeAsFunction(keyDataStr);
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘释放事件");
return;
}
}
// 调用KeyCode回调
foreach (var callback in keyUpCodeCallbacksCopy)
{
try
{
callback.InvokeAsFunction(keyCodeStr);
}
catch (Exception ex)
{
HandleCallbackException(ex, "键盘释放事件");
return;
}
}
}))
{
_logger.LogWarning("事件队列已满或已关闭,忽略键盘释放回调");
}
};
_mouseDownExtHandler = (_, args) =>
{
// 创建回调列表的副本,避免迭代期间修改集合导致异常
if (_mouseDownCallbacks.Count == 0) return;
var mouseDownCallbacksCopy = new List<ScriptObject>(_mouseDownCallbacks);
// 转换为局部坐标
var (localX, localY) = ConvertToLocalCoordinates(args.X, args.Y);
foreach (var callback in mouseDownCallbacksCopy)
{
try
var buttonStr = args.Button.ToString();
if (!_eventChannel.Writer.TryWrite(() =>
{
callback.InvokeAsFunction(args.Button.ToString(), localX, localY);
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标按下事件");
return;
}
foreach (var callback in mouseDownCallbacksCopy)
{
try
{
callback.InvokeAsFunction(buttonStr, localX, localY);
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标按下事件");
return;
}
}
}))
{
_logger.LogWarning("事件队列已满或已关闭,忽略鼠标按下回调");
}
};
_mouseUpExtHandler = (_, args) =>
{
// 创建回调列表的副本,避免迭代期间修改集合导致异常
if (_mouseUpCallbacks.Count == 0) return;
var mouseUpCallbacksCopy = new List<ScriptObject>(_mouseUpCallbacks);
// 转换为局部坐标
var (localX, localY) = ConvertToLocalCoordinates(args.X, args.Y);
foreach (var callback in mouseUpCallbacksCopy)
var buttonStr = args.Button.ToString();
if (!_eventChannel.Writer.TryWrite(() =>
{
foreach (var callback in mouseUpCallbacksCopy)
{
try
{
callback.InvokeAsFunction(buttonStr, localX, localY);
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标释放事件");
return;
}
}
}))
{
try
{
callback.InvokeAsFunction(args.Button.ToString(), localX, localY);
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标释放事件");
return;
}
_logger.LogWarning("事件队列已满或已关闭,忽略鼠标释放回调");
}
};
_mouseMoveExtHandler = (_, args) =>
{
if (_mouseMoveCallbacks.Count == 0) return;
var now = DateTime.Now;
// 创建回调列表的副本,避免迭代期间修改集合导致异常
if ((now - _lastProcessMouseMoveTime).TotalMilliseconds < 10) return;
_lastProcessMouseMoveTime = now;
var mouseMoveCallbacksCopy = new List<ScriptObject>(_mouseMoveCallbacks);
// 转换为局部坐标
var (localX, localY) = ConvertToLocalCoordinates(args.X, args.Y);
foreach (var callback in mouseMoveCallbacksCopy)
{
try
if (!_eventChannel.Writer.TryWrite(() =>
{
// 获取回调的间隔时间
if (_mouseMoveCallbackIntervals.TryGetValue(callback, out var interval))
foreach (var callback in mouseMoveCallbacksCopy)
{
// 获取上次调用时间
if (_lastMouseMoveCallbackTimes.TryGetValue(callback, out var lastTime))
try
{
// 计算时间差
var timeSpan = now - lastTime;
// 如果时间差大于等于间隔时间,则执行回调
if (timeSpan.TotalMilliseconds >= interval)
lock (_mouseMoveLock)
{
callback.InvokeAsFunction(localX, localY);
// 更新上次调用时间
_lastMouseMoveCallbackTimes[callback] = now;
if (_mouseMoveCallbackIntervals.TryGetValue(callback, out var interval) &&
_lastMouseMoveCallbackTimes.TryGetValue(callback, out var lastTime))
{
var timeSpan = now - lastTime;
if (timeSpan.TotalMilliseconds >= interval)
{
callback.InvokeAsFunction(localX, localY);
_lastMouseMoveCallbackTimes[callback] = now;
}
}
}
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标移动事件");
return;
}
}
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标移动事件");
return;
}
}))
{
_logger.LogWarning("事件队列已满或已关闭,忽略鼠标移动回调");
}
};
_mouseWheelExtHandler = (_, args) =>
{
// 创建回调列表的副本,避免迭代期间修改集合导致异常
if (_mouseWheelCallbacks.Count == 0) return;
var mouseWheelCallbacksCopy = new List<ScriptObject>(_mouseWheelCallbacks);
// 转换为局部坐标
var (localX, localY) = ConvertToLocalCoordinates(args.X, args.Y);
foreach (var callback in mouseWheelCallbacksCopy)
var delta = args.Delta;
if (!_eventChannel.Writer.TryWrite(() =>
{
foreach (var callback in mouseWheelCallbacksCopy)
{
try
{
callback.InvokeAsFunction(delta, localX, localY);
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标滚轮事件");
return;
}
}
}))
{
try
{
callback.InvokeAsFunction(args.Delta, localX, localY);
}
catch (Exception ex)
{
HandleCallbackException(ex, "鼠标滚轮事件");
return;
}
_logger.LogWarning("事件队列已满或已关闭,忽略鼠标滚轮回调");
}
};
@@ -376,6 +458,8 @@ public class KeyMouseHook: IDisposable
{
if (disposing)
{
_cts.Cancel();
_eventChannel.Writer.TryComplete();
// 移除所有事件监听器
if (_keyDownHandler != null)
{
@@ -216,6 +216,9 @@ public partial class ScriptGroupProject : ObservableObject
}
JsScriptSettingsObject ??= new ExpandoObject();
// 清理配置中的无效值
CleanInvalidSettingsValues();
var pathingPartyConfig = GroupInfo?.Config.PathingConfig;
await Project.ExecuteAsync(JsScriptSettingsObject, pathingPartyConfig);
}
@@ -336,6 +339,67 @@ public partial class ScriptGroupProject : ObservableObject
{
OnPropertyChanged(nameof(ScheduleDesc));
}
/// <summary>
/// 清理 JsScriptSettingsObject 中不在 settings.json 定义的 Options 列表中的无效值
/// </summary>
private void CleanInvalidSettingsValues()
{
if (Project == null || JsScriptSettingsObject == null)
{
return;
}
try
{
// 加载 settings.json 中定义的配置项
var settingItems = Project.Manifest.LoadSettingItems(Project.ProjectPath);
if (settingItems.Count == 0)
{
return;
}
var settingsDict = JsScriptSettingsObject as IDictionary<string, object?>;
if (settingsDict == null)
{
return;
}
// 遍历所有 multi-checkbox 类型的配置项
foreach (var item in settingItems.Where(i => i.Type == "multi-checkbox"))
{
if (!settingsDict.ContainsKey(item.Name))
{
continue;
}
// 获取当前保存的值
var savedValue = settingsDict[item.Name];
List<string>? checkedValues = null;
if (savedValue is List<string> stringList)
{
checkedValues = stringList;
}
else if (savedValue is List<object> objectList)
{
checkedValues = objectList.Select(i => (string)i).ToList();
settingsDict[item.Name] = checkedValues;
}
// 清理不在 Options 列表中的无效值
if (checkedValues != null && item.Options != null)
{
checkedValues.RemoveAll(value => !item.Options.Contains(value));
}
}
}
catch (Exception ex)
{
// 清理失败不影响脚本执行,只记录日志
TaskControl.Logger.LogDebug(ex, "清理JS脚本配置中的无效值时发生异常");
}
}
}
public class ScriptGroupProjectExtensions
@@ -0,0 +1,145 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Microsoft.ClearScript;
using Microsoft.ClearScript.JavaScript;
namespace BetterGenshinImpact.Core.Script
{
public class PackageDocumentLoader : DocumentLoader
{
private readonly string _scriptRootPath;
public PackageDocumentLoader(string scriptRootPath)
{
_scriptRootPath = Path.GetFullPath(scriptRootPath);
}
public override async Task<Document> LoadDocumentAsync(DocumentSettings settings, DocumentInfo? sourceInfo, string specifier, DocumentCategory category, DocumentContextCallback contextCallback)
{
string? targetPath = ResolvePhysicalPath(settings, sourceInfo, specifier);
if (targetPath == null || !File.Exists(targetPath))
{
return await Default.LoadDocumentAsync(settings, sourceInfo, specifier, category, contextCallback);
}
// 处理 JS 文件的重写
if (Path.GetExtension(targetPath).ToLower() == ".js")
{
string content = await File.ReadAllTextAsync(targetPath);
string processedCode = RewriteScriptCode(content, targetPath);
return new StringDocument(new DocumentInfo(targetPath) { Category = ModuleCategory.Standard }, processedCode);
}
return await Default.LoadDocumentAsync(settings, sourceInfo, specifier, category, contextCallback);
}
/// <summary>
/// js重写
/// </summary>
public string RewriteScriptCode(string code, string currentFilePath)
{
if (string.IsNullOrEmpty(code)) return code;
string result = code.Replace("../../../packages", "packages");
// 拦截资源导入
var resourceRegex = new Regex(@"import\s+([\w\d_*$]+|[\s\S]*?)\s+from\s+(['""])([^'""\n]+)(['""])");
result = resourceRegex.Replace(result, match =>
{
string importPart = match.Groups[1].Value.Trim();
string quote = match.Groups[2].Value;
string rawPath = match.Groups[3].Value;
string path = rawPath.Replace("../../../packages", "packages");
string? resourceFullPath = ResolvePathInternal(null, currentFilePath, path);
if (resourceFullPath != null && File.Exists(resourceFullPath))
{
string normalizedPath = Path.GetRelativePath(_scriptRootPath, resourceFullPath).Replace("\\", "/");
bool isJs = resourceFullPath.EndsWith(".js", StringComparison.OrdinalIgnoreCase);
bool isImage = IsImageFile(resourceFullPath);
// 图片 -> Mat
if (isImage)
{
if (importPart.StartsWith("{")) return match.Value;
return $"const {importPart} = file.ReadImageMatSync({quote}{normalizedPath}{quote});";
}
// 非 JS 资源 -> 文本内容
if (!isJs)
{
if (importPart.StartsWith("{")) return match.Value;
return $"const {importPart} = file.ReadTextSync({quote}{normalizedPath}{quote});";
}
}
return match.Value;
});
return result;
}
private string? ResolvePhysicalPath(DocumentSettings settings, DocumentInfo? sourceInfo, string specifier)
{
return ResolvePathInternal(settings.SearchPath, sourceInfo?.Name, specifier);
}
private string? ResolvePathInternal(string? searchPath, string? referrer, string specifier)
{
if (specifier.StartsWith("packages/", StringComparison.OrdinalIgnoreCase))
{
return ProbeFile(Path.Combine(_scriptRootPath, specifier));
}
if (specifier.StartsWith("."))
{
if (!string.IsNullOrEmpty(referrer))
{
string? dir = Path.GetDirectoryName(referrer);
if (dir != null)
{
return ProbeFile(Path.GetFullPath(Path.Combine(dir, specifier)));
}
}
}
if (!string.IsNullOrEmpty(searchPath))
{
var paths = searchPath.Split(';', StringSplitOptions.RemoveEmptyEntries);
foreach (var p in paths)
{
string combined = Path.Combine(p, specifier);
string? found = ProbeFile(combined);
if (found != null) return found;
}
}
return ProbeFile(Path.Combine(_scriptRootPath, specifier));
}
private string? ProbeFile(string path)
{
try
{
if (File.Exists(path)) return path;
if (File.Exists(path + ".js")) return path + ".js";
}
catch { }
return null;
}
private static bool IsImageFile(string path)
{
if (string.IsNullOrEmpty(path)) return false;
string ext = Path.GetExtension(path).ToLower();
string[] imageExtensions = { ".png", ".jpg", ".jpeg", ".bmp", ".tiff", ".webp" };
return imageExtensions.Contains(ext);
}
}
}
@@ -2,8 +2,10 @@ using BetterGenshinImpact.Core.Config;
using Microsoft.ClearScript;
using Microsoft.ClearScript.V8;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
@@ -69,10 +71,24 @@ public class ScriptProject
return scrollViewer;
}
public IScriptEngine BuildScriptEngine(PathingPartyConfig? partyConfig = null)
private IScriptEngine BuildScriptEngine(PathingPartyConfig? partyConfig)
{
IScriptEngine engine = new V8ScriptEngine(V8ScriptEngineFlags.UseCaseInsensitiveMemberBinding | V8ScriptEngineFlags.EnableTaskPromiseConversion);
EngineExtend.InitHost(engine, ProjectPath, Manifest.Library,partyConfig);
V8ScriptEngine engine = new V8ScriptEngine(V8ScriptEngineFlags.UseCaseInsensitiveMemberBinding | V8ScriptEngineFlags.EnableTaskPromiseConversion);
// packages 依赖和资源重载
var loader = new PackageDocumentLoader(ProjectPath);
engine.DocumentSettings.Loader = loader;
// 添加 packages 到搜索路径
var libraries = new HashSet<string>(Manifest.Library ?? Array.Empty<string>())
{
".",
"./packages"
};
var libraryList = libraries.ToList();
EngineExtend.InitHost(engine, ProjectPath, libraryList.ToArray(), partyConfig);
return engine;
}
@@ -83,6 +99,10 @@ public class ScriptProject
// 加载代码
var code = await LoadCode();
var engine = BuildScriptEngine(partyConfig);
// 使用自定义加载器解析脚本文件
var loader = (PackageDocumentLoader)engine.DocumentSettings.Loader;
if (context != null)
{
// 写入配置的内容
@@ -90,12 +110,19 @@ public class ScriptProject
}
try
{
if (Manifest.Library.Length != 0)
bool useModule = Manifest.Library.Length != 0 ||
code.Contains("import ", StringComparison.Ordinal) ||
code.Contains("export ", StringComparison.Ordinal);
if (useModule)
{
// 清除Document缓存
DocumentLoader.Default.DiscardCachedDocuments();
var evaluation = engine.Evaluate(new DocumentInfo { Category = ModuleCategory.Standard }, code);
string mainScriptPath = Path.Combine(ProjectPath, Manifest.Main);
string runtimeCode = loader.RewriteScriptCode(code, mainScriptPath);
var evaluation = engine.Evaluate(new DocumentInfo(mainScriptPath) { Category = ModuleCategory.Standard }, runtimeCode);
if (evaluation is Task task) await task;
}
else
@@ -21,7 +21,6 @@ using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Windows;
using Windows.UI.Xaml.Automation;
using BetterGenshinImpact.View.Windows;
using LibGit2Sharp;
using LibGit2Sharp.Handlers;
@@ -1338,6 +1337,12 @@ public class ScriptRepoUpdater : Singleton<ScriptRepoUpdater>
RestoreScriptFiles(path, repoPath);
}
// Resolving dependencies for JS scripts
if (first == "js")
{
ResolveScriptDependencies(repoPath, destPath);
}
UpdateSubscribedScriptPaths();
Toast.Success("脚本订阅链接导入完成");
}
@@ -1514,6 +1519,247 @@ public class ScriptRepoUpdater : Singleton<ScriptRepoUpdater>
}
}
/// <summary>
/// 解析并下载脚本依赖 (packages)
/// </summary>
/// <param name="repoPath">仓库路径</param>
/// <param name="localScriptPath">本地脚本路径</param>
private void ResolveScriptDependencies(string repoPath, string localScriptPath)
{
try
{
var processedFiles = new HashSet<string>();
var processingQueue = new Queue<string>();
// 确定根目录
string baseDestDir;
if (File.Exists(localScriptPath))
{
processingQueue.Enqueue(localScriptPath);
baseDestDir = Path.GetDirectoryName(localScriptPath) ?? localScriptPath;
}
else if (Directory.Exists(localScriptPath))
{
baseDestDir = localScriptPath;
// 初始加入目录下的所有 JS 文件
foreach (var f in Directory.GetFiles(localScriptPath, "*.js", SearchOption.AllDirectories))
{
processingQueue.Enqueue(f);
}
}
else
{
return;
}
// 清理 packages
var targetPackagesDir = Path.Combine(baseDestDir, "packages");
if (Directory.Exists(targetPackagesDir))
{
try
{
Directory.Delete(targetPackagesDir, true);
// _logger.LogInformation($"已清理旧依赖目录: {targetPackagesDir}");
}
catch (Exception ex)
{
_logger.LogWarning($"清理依赖目录失败: {ex.Message}");
}
}
// 捕获导入的变量名
var regex = new System.Text.RegularExpressions.Regex(
@"(import\s+([\w\d_$]+)\s+from\s+['""]|import\s+(?:[\w\s{},*]*?from\s+)?['""]|export\s+(?:[\w\s{},*]*?from\s+)?['""]|import\s+['""]|require\s*\(\s*['""])([^'""\n]+)(['""])");
while (processingQueue.Count > 0)
{
var currentFile = processingQueue.Dequeue();
// 避免重复处理
if (processedFiles.Contains(currentFile)) continue;
processedFiles.Add(currentFile);
try
{
if (!File.Exists(currentFile)) continue;
var content = File.ReadAllText(currentFile);
var matches = regex.Matches(content);
foreach (System.Text.RegularExpressions.Match match in matches)
{
var originalPath = match.Groups[3].Value;
string? packagePath = null;
// 识别是否为 packages 引用
int packageIndex = originalPath.IndexOf("packages/", StringComparison.OrdinalIgnoreCase);
if (packageIndex >= 0)
{
packagePath = originalPath.Substring(packageIndex).Replace('\\', '/');
}
// 识别是否为 packages 内部的相对引用
else if (originalPath.StartsWith("."))
{
// 检查当前文件是否在 packages 目录下
var localPackagesDir = Path.Combine(baseDestDir, "packages");
if (currentFile.StartsWith(localPackagesDir, StringComparison.OrdinalIgnoreCase))
{
// 计算当前文件对应的 repo 路径
var relToScript = Path.GetRelativePath(baseDestDir, currentFile);
var relDir = Path.GetDirectoryName(relToScript); // e.g. packages/utils
if (relDir != null)
{
var depPackagePath = Path.Combine(relDir, originalPath).Replace('\\', '/');
// 规范化路径
depPackagePath = Path.GetFullPath(Path.Combine(baseDestDir, depPackagePath));
depPackagePath = Path.GetRelativePath(baseDestDir, depPackagePath).Replace('\\', '/');
if (depPackagePath.StartsWith("packages/", StringComparison.OrdinalIgnoreCase))
{
packagePath = depPackagePath;
}
}
}
}
if (packagePath != null)
{
var destPath = Path.Combine(baseDestDir, packagePath);
bool isCode = packagePath.EndsWith(".js", StringComparison.OrdinalIgnoreCase);
// 如果文件不存在,下载
if (!File.Exists(destPath))
{
bool downloaded = false;
// 尝试精确下载
if (DownloadAndQueue(repoPath, packagePath, destPath, processingQueue))
{
downloaded = true;
}
// 尝试 .js
else if (isCode || packagePath.IndexOf('.') == -1)
{
// 尝试补充 .js
if (DownloadAndQueue(repoPath, packagePath + ".js", destPath + ".js", processingQueue)) downloaded = true;
}
if (!downloaded)
{
_logger.LogWarning($"依赖未找到: {packagePath} (in {Path.GetFileName(currentFile)})");
}
}
else
{
// 文件已存在
if (isCode)
{
if (!processedFiles.Contains(destPath) && !processingQueue.Contains(destPath)) processingQueue.Enqueue(destPath);
}
}
}
}
}
catch (Exception ex)
{
_logger.LogWarning($"分析文件依赖出错: {currentFile}, {ex.Message}");
}
}
}
catch (Exception ex)
{
_logger.LogError(ex, "解析脚本依赖主流程失败");
}
}
private bool DownloadAndQueue(string repoPath, string sourcePath, string destPath, Queue<string> queue)
{
if (CheckoutRepoRootPath(repoPath, sourcePath, destPath))
{
queue.Enqueue(destPath);
return true;
}
return false;
}
/// <summary>
/// 从仓库根目录检出指定路径
/// </summary>
/// <returns>是否成功检出</returns>
private bool CheckoutRepoRootPath(string repoPath, string sourcePath, string destPath)
{
bool isGitRepo = IsGitRepository(repoPath);
if (isGitRepo)
{
using var repo = new Repository(repoPath);
var commit = repo.Head.Tip;
if (commit == null) throw new Exception("仓库HEAD未指向任何提交");
TreeEntry? entry = null;
var pathParts = sourcePath.Split(new[] { '/', '\\' }, StringSplitOptions.RemoveEmptyEntries);
Tree currentTree = commit.Tree; // Start from ROOT tree
for (int i = 0; i < pathParts.Length; i++)
{
entry = currentTree[pathParts[i]];
if (entry == null) return false; // Path not found
if (i < pathParts.Length - 1)
{
if (entry.TargetType != TreeEntryTargetType.Tree)
// 路径中间部分不是目录,说明路径错误
return false;
currentTree = (Tree)entry.Target;
}
}
if (entry == null) return false;
if (entry.TargetType == TreeEntryTargetType.Blob)
{
var blob = (Blob)entry.Target;
var dir = Path.GetDirectoryName(destPath);
if (!string.IsNullOrEmpty(dir) && !Directory.Exists(dir)) Directory.CreateDirectory(dir);
using var contentStream = blob.GetContentStream();
using var fileStream = File.Create(destPath);
contentStream.CopyTo(fileStream);
return true;
}
else if (entry.TargetType == TreeEntryTargetType.Tree)
{
var tree = (Tree)entry.Target;
CheckoutTree(tree, destPath, sourcePath);
return true;
}
return false;
}
else
{
var potentialRoot = Directory.GetParent(repoPath)?.FullName;
if (potentialRoot != null)
{
var scriptPath = Path.Combine(potentialRoot, sourcePath);
if (Directory.Exists(scriptPath))
{
CopyDirectory(scriptPath, destPath);
return true;
}
else if (File.Exists(scriptPath))
{
var dir = Path.GetDirectoryName(destPath);
if (!string.IsNullOrEmpty(dir) && !Directory.Exists(dir)) Directory.CreateDirectory(dir);
File.Copy(scriptPath, destPath, true);
return true;
}
}
return false;
}
}
private static (string firstFolder, string remainingPath) GetFirstFolderAndRemainingPath(string path)
{
// 检查路径是否为空或仅包含部分字符
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

@@ -0,0 +1,49 @@
using BetterGenshinImpact.Core.Recognition;
using BetterGenshinImpact.GameTask.Model;
using OpenCvSharp;
namespace BetterGenshinImpact.GameTask.AutoDomain.Assets;
public class AutoDomainAssets : BaseAssets<AutoDomainAssets>
{
public RecognitionObject ResinSwitchBtnRo;
public RecognitionObject ResinSwitchBtnNoActiveRo;
private AutoDomainAssets() : base()
{
Initialization(this.systemInfo);
}
protected AutoDomainAssets(ISystemInfo systemInfo) : base(systemInfo)
{
Initialization(systemInfo);
}
private void Initialization(ISystemInfo systemInfo)
{
// 可点击状态的树脂切换按钮
ResinSwitchBtnRo = new RecognitionObject
{
Name = "ResinSwitchBtn",
RecognitionType = RecognitionTypes.TemplateMatch,
TemplateImageMat = GameTaskManager.LoadAssetImage("AutoDomain", "resin_switch_btn.png", this.systemInfo),
RegionOfInterest = new Rect((int)(960 * AssetScale), (int)(430 * AssetScale), (int)(400 * AssetScale), (int)(130 * AssetScale)),
Threshold = 0.8,
DrawOnWindow = false
}.InitTemplate();
// 不可点击状态的树脂切换按钮
ResinSwitchBtnNoActiveRo = new RecognitionObject
{
Name = "ResinSwitchBtnNoActive",
RecognitionType = RecognitionTypes.TemplateMatch,
TemplateImageMat = GameTaskManager.LoadAssetImage("AutoDomain", "resin_switch_btn_no_active.png", this.systemInfo),
RegionOfInterest = new Rect((int)(960 * AssetScale), (int)(430 * AssetScale), (int)(400 * AssetScale), (int)(130 * AssetScale)),
Threshold = 0.8,
DrawOnWindow = false
}.InitTemplate();
}
}
@@ -68,6 +68,13 @@ public partial class AutoDomainConfig : ObservableObject
// 使用原粹树脂刷取副本次数
[ObservableProperty]
private int _originalResinUseCount = 0;
// 使用原粹树脂(20)刷取副本次数
[ObservableProperty]
private int _originalResin20UseCount = 0;
// 使用原粹树脂(40)刷取副本次数
[ObservableProperty]
private int _originalResin40UseCount = 0;
//使用浓缩树脂刷取副本次数
[ObservableProperty]
@@ -34,9 +34,13 @@ public class AutoDomainParam : BaseTaskParam<AutoDomainTask>
"浓缩树脂",
"原粹树脂"
];
// 使用原粹树脂刷取副本次数
public int OriginalResinUseCount { get; set; } = 0;
// 使用原粹树脂(20)刷取副本次数
public int OriginalResin20UseCount { get; set; } = 0;
// 使用原粹树脂(40)刷取副本次数
public int OriginalResin40UseCount { get; set; } = 0;
// 使用浓缩树脂刷取副本次数
public int CondensedResinUseCount { get; set; } = 0;
@@ -73,6 +77,8 @@ public class AutoDomainParam : BaseTaskParam<AutoDomainTask>
TransientResinUseCount = config.TransientResinUseCount;
FragileResinUseCount = config.FragileResinUseCount;
SpecifyResinUse = config.SpecifyResinUse;
OriginalResin20UseCount = config.OriginalResin20UseCount;
OriginalResin40UseCount = config.OriginalResin40UseCount;
}
public AutoDomainParam(int domainRoundNum = 0) : base(null, null)
@@ -41,6 +41,7 @@ using BetterGenshinImpact.GameTask.Common;
using Compunet.YoloSharp;
using Microsoft.Extensions.DependencyInjection;
using BetterGenshinImpact.GameTask.AutoFight;
using BetterGenshinImpact.GameTask.AutoDomain.Assets;
namespace BetterGenshinImpact.GameTask.AutoDomain;
@@ -1151,6 +1152,26 @@ public class AutoDomainTask : ISoloTask
{
if (record.RemainCount > 0)
{
if (record.Name == "原粹树脂20" || record.Name == "原粹树脂40")
{
int expectedNum = record.Name == "原粹树脂20" ? 20 : 40;
bool switched;
try
{
switched = SwitchOriginalResinType(expectedNum, _ct);
}
catch (RetryException)
{
Logger.LogWarning("自动秘境:切换原粹树脂类型重试超时,跳过 {Name}", record.Name);
switched = false;
}
if (!switched)
{
continue;
}
}
var (success, _) = PressUseResin(textListInPrompt2, record.Name);
if (success)
{
@@ -1258,6 +1279,11 @@ public class AutoDomainTask : ISoloTask
public static (bool, int) PressUseResin(List<Region> regionList, string resinName)
{
if (resinName == "原粹树脂20" || resinName == "原粹树脂40")
{
resinName = "原粹树脂";
}
var resinKey = regionList.FirstOrDefault(t => t.Text.Contains(resinName));
if (resinKey != null)
{
@@ -1293,6 +1319,46 @@ public class AutoDomainTask : ISoloTask
return (false, 0);
}
private bool SwitchOriginalResinType(int expectedNum, CancellationToken ct)
{
return NewRetry.Do(() =>
{
using var ra0 = CaptureToRectArea();
var regionList = ra0.FindMulti(RecognitionObject.Ocr(ra0.Width * 0.25, ra0.Height * 0.2, ra0.Width * 0.5, ra0.Height * 0.6));
var has20 = regionList.Any(t => t.Text.Contains("20"));
var has40 = regionList.Any(t => t.Text.Contains("40"));
if (expectedNum == 20 && has20)
{
Logger.LogInformation("自动秘境:已切换到使用20原粹树脂");
return true;
}
if (expectedNum == 40 && has40)
{
Logger.LogInformation("自动秘境:已切换到使用40原粹树脂");
return true;
}
//切换20/40原粹树脂的按钮是亮的
var clickable = ra0.Find(AutoDomainAssets.Instance.ResinSwitchBtnRo);
if (clickable.IsExist())
{
Logger.LogDebug("自动秘境:切换原粹树脂使用数量");
clickable.Click();
}
//切换20/40原粹树脂的按钮是暗的
var disabled = ra0.Find(AutoDomainAssets.Instance.ResinSwitchBtnNoActiveRo);
if (disabled.IsExist())
{
Logger.LogWarning("自动秘境:切换原粹树脂的使用数量失败,可能是体力不足,当前目标:{Num}", expectedNum);
return false; // 不可点击
}
throw new RetryException("未检测到按钮"); // 继续重试
}, TimeSpan.FromMilliseconds(500), 10);
}
private static int GetResinNum(Region region, string resinName)
{
if (resinName == "原粹树脂")
@@ -1335,7 +1401,7 @@ public class AutoDomainTask : ISoloTask
return (region1Top <= region2Bottom && region1Bottom >= region2Top);
}
private async Task ArtifactSalvage()
private async Task ArtifactSalvage()
{
if (!_taskParam.AutoArtifactSalvage)
{
@@ -32,6 +32,14 @@ public class ResinUseRecord
{
list.Add(new ResinUseRecord("浓缩树脂", taskParam.CondensedResinUseCount));
}
if (taskParam.OriginalResin40UseCount > 0)
{
list.Add(new ResinUseRecord("原粹树脂40", taskParam.OriginalResin40UseCount));
}
if (taskParam.OriginalResin20UseCount > 0)
{
list.Add(new ResinUseRecord("原粹树脂20", taskParam.OriginalResin20UseCount));
}
if (taskParam.OriginalResinUseCount > 0)
{
list.Add(new ResinUseRecord("原粹树脂", taskParam.OriginalResinUseCount));
@@ -320,7 +320,8 @@ namespace BetterGenshinImpact.GameTask.AutoFight
if (retryCount == 0)
{
await Delay(delayTime,ct);
Logger.LogInformation("打开编队界面检查战斗是否结束,延时{detectDelayTime}毫秒检查", detectDelayTime);
// Logger.LogInformation("打开编队界面检查战斗是否结束,延时{detectDelayTime}毫秒检查", detectDelayTime);
Logger.LogInformation("打开编队界面检查战斗是否结束");
Simulation.SendInput.SimulateAction(GIActions.OpenPartySetupScreen);
await Delay(detectDelayTime, ct);
var ra3 = CaptureToRectArea();
@@ -444,7 +444,7 @@ public class AutoFightTask : ISoloTask
if (_finishDetectConfig.DelayTimes.TryGetValue(command.Name, out var time))
{
delayTime = time;
Logger.LogInformation($"{command.Name}结束后,延时检查为{delayTime}毫秒");
// Logger.LogInformation($"{command.Name}结束后,延时检查为{delayTime}毫秒");
}
else
{
@@ -498,13 +498,13 @@ public class AutoFightTask : ISoloTask
{
oldPartyName = RunnerContext.Instance.PartyName;
}
else if (picker is null)
else if(picker is null && !string.IsNullOrEmpty(_taskParam.KazuhaPartyName))
{
Logger.LogWarning("换队拾取:当前队伍名称为空,尝试读取!");
await Delay(1000, ct);
await _returnMainUiTask.Start(ct);
for (int attempt = 0; attempt < 3; attempt++)
for (int attempt = 0; attempt < 6; attempt++)
{
Simulation.SendInput.SimulateAction(GIActions.OpenPartySetupScreen);
var enterGameAppear = await NewRetry.WaitForElementAppear(
@@ -514,35 +514,68 @@ public class AutoFightTask : ISoloTask
15,
500
);
if (attempt == 2)
if(attempt == 5 && !enterGameAppear)
{
Logger.LogWarning("换队拾取:读取队伍名称失败!");
Logger.LogWarning("换队拾取:读取队伍名称失败,跳过换队拾取步骤");
}
}
}
//等待寻找2秒队伍按钮出现
var timeWaitStart = 0;
while(timeWaitStart < 6000)
{
using var ra = CaptureToRectArea();
var partyViewBtn = ra.Find(ElementAssets.Instance.PartyBtnChooseView);
if (partyViewBtn.IsExist())
if (!string.IsNullOrEmpty(_taskParam.KazuhaPartyName)){
await Delay(1000, ct);
//等待寻找2秒队伍按钮出现
var timeWaitStart = 0;
while(timeWaitStart < 6000)
{
// OCR 当前队伍名称(无法单字,中间禁止空格)
oldPartyName = ra.Find(new RecognitionObject
using var ra = CaptureToRectArea();
var partyViewBtn = ra.Find(ElementAssets.Instance.PartyBtnChooseView);
if (partyViewBtn.IsExist())
{
// OCR 当前队伍名称(无法单字,中间禁止空格)
// 读取OCR原始识别文本
var rawPartyName = ra.Find(new RecognitionObject
{
RecognitionType = RecognitionTypes.Ocr,
RegionOfInterest = new Rect(partyViewBtn.Right, partyViewBtn.Top, (int)(350 * _assetScale),
partyViewBtn.Height)
}).Text;
Logger.LogInformation("换队拾取:当前队伍名称读取为:{oldPartyName}",oldPartyName);
// 核心处理逻辑:1.空值兜底 2.去首尾空白 3.移除末尾的“口”字(仅最后一个是口才删)
if (string.IsNullOrWhiteSpace(rawPartyName))
{
oldPartyName = string.Empty;
}
else
{
//有概率把编辑图标识别为字符,并且含有空格或换行符,需要过滤
var tempName = rawPartyName
.Replace("\"", "") // 移除所有双引号(核心新增,解决日志里的""问题)
.Replace("\r\n", "") // 清理Windows换行符
.Replace("\r", ""); // 先清理所有双引号,避免引号干扰后续处理
// 核心逻辑:找到第一个换行符(\n)的位置,截断并删除换行+后面所有字符
int firstNewLineIndex = tempName.IndexOf('\n');
if (firstNewLineIndex != -1) // 存在换行符,截取到换行符前
{
tempName = tempName.Substring(0, firstNewLineIndex);
}
// 最后统一去首尾所有空白(空格、制表符、回车符\r等),得到纯净队伍名
oldPartyName = tempName.Trim();
}
// 后续原有逻辑不变
Logger.LogInformation("换队拾取:当前队伍名称读取为:{oldPartyName}", oldPartyName);
// 加在rawPartyName赋值后,打印原始文本的“原始形态”(转义符会显示)
Logger.LogDebug("OCR原始识别文本(含转义):{rawPartyName}", rawPartyName);
RunnerContext.Instance.PartyName = oldPartyName;
// await _returnMainUiTask.Start(ct);
break;
// await _returnMainUiTask.Start(ct);
break;
}
await Delay(200, ct);
timeWaitStart += 200;
}
await Delay(200, ct);
timeWaitStart += 200;
}
var switchPartyFlag = false;
@@ -574,7 +607,12 @@ public class AutoFightTask : ISoloTask
if (picker.Name == "枫原万叶")
{
var time = TimeSpan.FromSeconds(picker.GetSkillCdSeconds());
if (!(lastFightName == picker.Name && time.TotalSeconds > 3))
// 如果配置了二次拾取,或者不满足跳过条件(上次是万叶且冷却时间>3秒),则执行拾取
bool shouldSkip = lastFightName == picker.Name && time.TotalSeconds > 3;
bool forcePickup = _taskParam.QinDoublePickUp;
if (forcePickup || !shouldSkip)
{
Logger.LogInformation("使用 枫原万叶-长E 拾取掉落物");
await Delay(200, ct);
@@ -735,7 +773,8 @@ public class AutoFightTask : ISoloTask
if (!_finishDetectConfig.RotateFindEnemyEnabled)await Delay(delayTime, _ct);
Logger.LogInformation("打开编队界面检查战斗是否结束,延时{detectDelayTime}毫秒检查", detectDelayTime);
// Logger.LogInformation("打开编队界面检查战斗是否结束,延时{detectDelayTime}毫秒检查", detectDelayTime);
Logger.LogInformation("打开编队界面检查战斗是否结束");
// 最终方案确认战斗结束
Simulation.SendInput.SimulateAction(GIActions.OpenPartySetupScreen);
await Delay(detectDelayTime, _ct);
@@ -758,8 +797,9 @@ public class AutoFightTask : ISoloTask
return true;
}
Logger.LogInformation($"未识别到战斗结束yellow{b3.Item0},{b3.Item1},{b3.Item2}");
Logger.LogInformation($"未识别到战斗结束white{whiteTile.Item0},{whiteTile.Item1},{whiteTile.Item2}");
// Logger.LogInformation($"未识别到战斗结束yellow{b3.Item0},{b3.Item1},{b3.Item2}");
// Logger.LogInformation($"未识别到战斗结束white{whiteTile.Item0},{whiteTile.Item1},{whiteTile.Item2}");
Logger.LogInformation($"未识别到战斗结束: yellow{b3.Item0},{b3.Item1},{b3.Item2};white{whiteTile.Item0},{whiteTile.Item1},{whiteTile.Item2}");
if (_finishDetectConfig.RotateFindEnemyEnabled)
{
@@ -862,4 +902,4 @@ public class AutoFightTask : ISoloTask
// // 要大于 gadgetMat 的 1/2
// return list.Any(r => r.Width > gadgetMat.Width / 2 && r.Height > gadgetMat.Height / 2);
// }
}
}
@@ -254,10 +254,10 @@ public class Avatar
// 切换成功
if (CombatScenes.GetActiveAvatarIndex(region, context) == Index)
{
if (needLog && i > 0)
{
Logger.LogInformation("成功切换角色:{Name}", Name);
}
// if (needLog && i > 0)
// {
// Logger.LogInformation("成功切换角色:{Name}", Name);
// }
return true;
}
@@ -267,6 +267,8 @@ public class Avatar
Sleep(250, Ct);
}
Logger.LogWarning("切换角色失败:{Name}", Name);
return false;
}
@@ -472,8 +474,8 @@ public class Avatar
var cd = AfterUseSkill(region);
if (cd > 0)
{
Logger.LogInformation(hold ? "{Name} 长按元素战技,cd:{Cd} 秒" : "{Name} 点按元素战技,cd:{Cd} 秒", Name,
Math.Round(cd, 2));
// Logger.LogInformation(hold ? "{Name} 长按元素战技,cd:{Cd} 秒" : "{Name} 点按元素战技,cd:{Cd} 秒", Name,
// Math.Round(cd, 2));
return;
}
}
@@ -177,6 +177,48 @@ public class CombatScenes : IDisposable
return this;
}
/// <summary>
/// 静默模式下的队伍识别(用于后台挂件)
/// </summary>
public CombatScenes InitializeTeamSilent(ImageRegion imageRegion, AutoFightConfig? autoFightConfig = null)
{
try
{
if (autoFightConfig == null)
{
autoFightConfig = TaskContext.Instance().Config.AutoFightConfig;
}
// 优先取配置
if (!string.IsNullOrEmpty(autoFightConfig.TeamNames))
{
InitializeTeamFromConfig(autoFightConfig.TeamNames, autoFightConfig);
return this;
}
// 使用 NullLogger 彻底屏蔽底层工具类的日志输出
var nullLogger = Microsoft.Extensions.Logging.Abstractions.NullLogger.Instance;
CurrentMultiGameStatus = PartyAvatarSideIndexHelper.DetectedMultiGameStatus(imageRegion, _autoFightAssets, nullLogger);
var (avatarIndexRectList, avatarSideIconRectList) = PartyAvatarSideIndexHelper.GetAllIndexRects(imageRegion, CurrentMultiGameStatus, nullLogger, _elementAssets, _systemInfo);
ExpectedTeamAvatarNum = avatarIndexRectList.Count;
var names = new string[avatarSideIconRectList.Count];
for (var i = 0; i < avatarSideIconRectList.Count; i++)
{
using var ra = imageRegion.DeriveCrop(avatarSideIconRectList[i]);
var pair = ClassifyAvatarCnName(ra.CacheImage, i + 1);
names[i] = pair.Item1;
}
Avatars = BuildAvatars([.. names], null, avatarIndexRectList, autoFightConfig);
}
catch
{
// 静默模式下完全不抛出、不记录异常
}
return this;
}
/// <summary>
/// 这个个方法主要用于在切人判断有误的情况下,且能够找到预期数量的角色编号框。此时只有两种情况
@@ -28,8 +28,9 @@ public class CombatScriptBag(List<CombatScript> combatScripts)
}
if (matchCount != avatars.Count) continue;
Logger.LogInformation("匹配到战斗脚本:{Name},共{Cnt}条指令,涉及角色:{Str}",
combatScript.Name, combatScript.CombatCommands.Count, string.Join(",", combatScript.AvatarNames));
// Logger.LogInformation("匹配到战斗脚本:{Name},共{Cnt}条指令,涉及角色:{Str}",
// combatScript.Name, combatScript.CombatCommands.Count, string.Join(",", combatScript.AvatarNames));
Logger.LogInformation("匹配到战斗脚本:{Name}", combatScript.Name);
return combatScript.CombatCommands;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

@@ -0,0 +1,98 @@
{
"info": {
"authors": [],
"bgi_version": "0.45.0",
"description": "",
"enable_monster_loot_split": false,
"last_modified_time": 1757822946823,
"map_match_method": "",
"map_name": "Teyvat",
"name": "挪德卡莱3-蓝泊湖-2-rerun",
"tags": [],
"type": "collect",
"version": "1.0"
},
"positions": [
{
"action": "",
"action_params": "",
"id": 1,
"move_mode": "walk",
"type": "teleport",
"x": 9099.5234375,
"y": 2296.4248046875
},
{
"action": "stop_flying",
"action_params": "",
"id": 2,
"move_mode": "fly",
"type": "path",
"x": 9094.8037109375,
"y": 2281.67529296875
},
{
"action": "",
"action_params": "",
"id": 3,
"move_mode": "dash",
"type": "path",
"x": 9068.869140625,
"y": 2268.197021484375
},
{
"action": "",
"action_params": "",
"id": 4,
"move_mode": "dash",
"type": "path",
"x": 9058.2861328125,
"y": 2253.7373046875
},
{
"action": "",
"action_params": "",
"id": 5,
"move_mode": "run",
"type": "path",
"x": 9041.37890625,
"y": 2250.19384765625
},
{
"action": "",
"action_params": "",
"id": 6,
"move_mode": "dash",
"type": "path",
"x": 9026.62109375,
"y": 2235.5322265625
},
{
"action": "",
"action_params": "",
"id": 7,
"move_mode": "dash",
"type": "path",
"x": 9024.693359375,
"y": 2198.438720703125
},
{
"action": "stop_flying",
"action_params": "1000",
"id": 8,
"move_mode": "fly",
"type": "path",
"x": 9018.0087890625,
"y": 2152.14990234375
},
{
"action": "",
"action_params": "",
"id": 9,
"move_mode": "walk",
"type": "target",
"x": 9018.50390625,
"y": 2146.216064453125
}
]
}
@@ -0,0 +1,40 @@
{
"info": {
"name": "枫丹1-秋分山西侧-1-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4146.91,
"y": 2606.27,
"action_params": ""
},
{
"id": 2,
"x": 4191.61,
"y": 2522.25,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4183.27,
"y": 2502.37,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "枫丹1-秋分山西侧-2-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4146.69,
"y": 2606.25,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4157.89,
"y": 2579.28,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4150.46,
"y": 2530.25,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4180.84,
"y": 2450.05,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4190.03,
"y": 2426.41,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,66 @@
{
"info": {
"name": "枫丹1-秋分山西侧-3-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4375.5,
"y": 2280.05,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4334.42,
"y": 2337.57,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4327.22,
"y": 2345.84,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
},
{
"id": 4,
"x": 4280.2,
"y": 2342.5,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4264.16,
"y": 2357.42,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 6,
"x": 4246.28,
"y": 2374.05,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,48 @@
{
"info": {
"name": "枫丹1-秋分山西侧-4-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4375.37,
"y": 2281.02,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4383.66,
"y": 2268.13,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4318.1,
"y": 2235.66,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4299.75,
"y": 2232.59,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "枫丹1-秋分山西侧-5-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4375.04,
"y": 2280.11,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4394.32,
"y": 2257.98,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4402.53,
"y": 2253.27,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "枫丹2-芒索斯山东麓-1-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4984.79,
"y": 4462.98,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4970.03,
"y": 4415.96,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4962.82,
"y": 4395.81,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,30 @@
{
"info": {
"name": "枫丹2-芒索斯山东麓-2-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4984.69,
"y": 4462.91,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4952.04,
"y": 4468.84,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,40 @@
{
"info": {
"name": "枫丹2-芒索斯山东麓-3-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4984.75,
"y": 4462.97,
"action_params": ""
},
{
"id": 2,
"x": 5032.75,
"y": 4492.81,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 5043.36,
"y": 4479.99,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,58 @@
{
"info": {
"name": "枫丹2-芒索斯山东麓-4-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4984.75,
"y": 4462.94,
"action_params": ""
},
{
"id": 2,
"x": 5046.47,
"y": 4496.56,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 5077.78,
"y": 4494.85,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 5107.19,
"y": 4542.49,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 5087.02,
"y": 4573.27,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,49 @@
{
"info": {
"name": "枫丹3-新枫丹科学院-1-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4498.18,
"y": 4710.79,
"action_params": ""
},
{
"id": 2,
"x": 4496.67,
"y": 4741.03,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4539.94,
"y": 4771.01,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4556.1,
"y": 4762.42,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,49 @@
{
"info": {
"name": "枫丹3-新枫丹科学院-2-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4498.15,
"y": 4710.78,
"action_params": ""
},
{
"id": 2,
"x": 4494.08,
"y": 4762.04,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4499.02,
"y": 4825.24,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4517.81,
"y": 4866.48,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "枫丹3-新枫丹科学院-3-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4624.36,
"y": 4951.78,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4607.47,
"y": 4925.97,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4578.63,
"y": 4913.28,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,49 @@
{
"info": {
"name": "枫丹3-新枫丹科学院-4-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 4624.37,
"y": 4951.84,
"action_params": ""
},
{
"id": 2,
"x": 4635.65,
"y": 4951.5,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 4665.65,
"y": 4970.14,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 4679.47,
"y": 4977.83,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,58 @@
{
"info": {
"name": "枫丹4-柔灯港-1-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 2873.54,
"y": 3512.04,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": 2890.51,
"y": 3532.46,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 2904.51,
"y": 3545.62,
"type": "path",
"move_mode": "climb",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 2929.82,
"y": 3563.57,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 2932.47,
"y": 3583.9,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "枫丹4-柔灯港-2-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 3032.66,
"y": 3732.42,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 3019.81,
"y": 3712.95,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
},
{
"id": 3,
"x": 3015.82,
"y": 3665.19,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "target"
},
{
"id": 4,
"x": 3010.95,
"y": 3624.05,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 3008.4,
"y": 3602.59,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,58 @@
{
"info": {
"name": "枫丹4-柔灯港-3-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3032.67,
"y": 3732.43,
"action_params": ""
},
{
"id": 2,
"x": 3045.59,
"y": 3710.54,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 3039.93,
"y": 3671.22,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 3055.35,
"y": 3641.24,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 3077.19,
"y": 3602.84,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,58 @@
{
"info": {
"name": "枫丹4-柔灯港-4-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3032.68,
"y": 3732.45,
"action_params": ""
},
{
"id": 2,
"x": 3038.55,
"y": 3718.42,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 3067.2,
"y": 3698.43,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 3079.73,
"y": 3675.76,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 3091.8,
"y": 3654.75,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "枫丹5-秋分山东侧-1-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4146.68,
"y": 2606.23,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4116.21,
"y": 2592.0,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4098.63,
"y": 2584.16,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "枫丹5-秋分山东侧-2-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4146.78,
"y": 2606.25,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4091.37,
"y": 2573.86,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4063.52,
"y": 2564.29,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "枫丹5-秋分山东侧-3-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 3917.29,
"y": 2576.43,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 3922.84,
"y": 2562.64,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 3986.65,
"y": 2599.51,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4034.13,
"y": 2625.87,
"action": "fight",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 3999.66,
"y": 2613.18,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,49 @@
{
"info": {
"name": "枫丹5-秋分山东侧-4-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": 3917.28,
"y": 2576.33,
"action_params": ""
},
{
"id": 2,
"x": 3917.23,
"y": 2573.3,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 3907.25,
"y": 2607.02,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": ""
},
{
"id": 4,
"x": 3921.35,
"y": 2617.81,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "枫丹6-厄里那斯-1-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4749.59,
"y": 2636.21,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4758.19,
"y": 2611.12,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4760.8,
"y": 2574.52,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "枫丹6-厄里那斯-2-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4689.61,
"y": 2429.43,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4631.0,
"y": 2468.98,
"action": "",
"move_mode": "fly",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4653.67,
"y": 2531.89,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "枫丹6-厄里那斯-3-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4689.57,
"y": 2429.33,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4664.06,
"y": 2408.48,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4628.4,
"y": 2418.34,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4585.56,
"y": 2438.06,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4568.49,
"y": 2433.23,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "枫丹6-厄里那斯-4-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4689.58,
"y": 2429.4,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4674.19,
"y": 2418.42,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4626.89,
"y": 2356.66,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4569.61,
"y": 2349.85,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4553.51,
"y": 2358.49,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "枫丹6-厄里那斯-5-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4626.1,
"y": 2182.3,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4628.69,
"y": 2191.43,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4610.08,
"y": 2236.07,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": 4609.76,
"y": 2299.19,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": 4607.46,
"y": 2316.58,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,48 @@
{
"info": {
"name": "枫丹6-厄里那斯-6-rerun",
"type": "collect",
"author": "平面镜",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 4689.5,
"y": 2429.55,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 4700.14,
"y": 2393.35,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 4700.14,
"y": 2393.35,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
},
{
"id": 4,
"x": 4700.14,
"y": 2393.35,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,30 @@
{
"info": {
"name": "璃月2-地中之盐-1-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -164.59,
"y": 1182.45,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -194.85,
"y": 1163.89,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "璃月2-地中之盐-2-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -164.58,
"y": 1182.44,
"action_params": ""
},
{
"id": 2,
"x": -134.23,
"y": 1143.56,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -49.9,
"y": 1091.71,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 10.61,
"y": 1107.07,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 32.81,
"y": 1118.31,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,48 @@
{
"info": {
"name": "璃月2-地中之盐-3-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -188.52,
"y": 972.43,
"action_params": ""
},
{
"id": 2,
"x": -125.17,
"y": 938.35,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -79.01,
"y": 945.49,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": -24.14,
"y": 931.71,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "璃月2-地中之盐-4-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -57.41,
"y": 656.93,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -48.85,
"y": 655.28,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -10.67,
"y": 683.67,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,31 @@
{
"info": {
"name": "璃月3-瑶光滩-1-rerun",
"type": "collect",
"author": "ddaodan",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -57.41,
"y": 656.94,
"action_params": ""
},
{
"id": 2,
"x": -55.27,
"y": 603.84,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,93 @@
{
"info": {
"name": "璃月3-瑶光滩-2-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -57.4,
"y": 656.97,
"action_params": ""
},
{
"id": 2,
"x": -4.93,
"y": 650.88,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 36.2,
"y": 657.72,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 42.41,
"y": 657.71,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 53.52,
"y": 650.22,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 6,
"x": 88.86,
"y": 651.98,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 7,
"x": 104.02,
"y": 655.6,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 8,
"x": 119.03,
"y": 655.94,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 9,
"x": 139.9,
"y": 685.26,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,48 @@
{
"info": {
"name": "璃月3-瑶光滩-3-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 341.27,
"y": 548.27,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": 331.55,
"y": 574.01,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 288.37,
"y": 608.16,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 284.12,
"y": 620.66,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "璃月3-瑶光滩-4-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 341.3,
"y": 548.35,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": 319.48,
"y": 536.14,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 276.12,
"y": 542.51,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "璃月3-瑶光滩-5-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 341.3,
"y": 548.28,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": 366.88,
"y": 539.55,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 407.58,
"y": 543.65,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": 416.22,
"y": 544.36,
"type": "path",
"move_mode": "jump",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": 456.0,
"y": 546.29,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "稻妻1-鸣神岛-1-rerun",
"type": "collect",
"author": "寒烟",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -4217.89,
"y": -2397.87,
"action_params": ""
},
{
"id": 2,
"x": -4309.88,
"y": -2287.5,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -4309.58,
"y": -2288.5,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "稻妻1-鸣神岛-2-rerun",
"type": "collect",
"author": "寒烟",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -4217.9,
"y": -2397.83,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -4332.49,
"y": -2296.32,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -4338.18,
"y": -2292.7,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": -4409.11,
"y": -2228.86,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": -4401.19,
"y": -2226.96,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,48 @@
{
"info": {
"name": "稻妻1-鸣神岛-3-rerun",
"type": "collect",
"author": "寒烟",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -4408.91,
"y": -2395.34,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -4418.38,
"y": -2370.38,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -4512.55,
"y": -2332.07,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": "200"
},
{
"id": 4,
"x": -4509.57,
"y": -2332.11,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,66 @@
{
"info": {
"name": "稻妻1-鸣神岛-4-rerun",
"type": "collect",
"author": "寒烟",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -4408.91,
"y": -2395.33,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -4419.78,
"y": -2372.22,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -4453.22,
"y": -2379.87,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": -4466.54,
"y": -2383.71,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 5,
"x": -4554.27,
"y": -2399.79,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": "200"
},
{
"id": 6,
"x": -4549.96,
"y": -2399.98,
"type": "target",
"move_mode": "walk",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,48 @@
{
"info": {
"name": "稻妻5-清籁岛-1-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"action": "",
"move_mode": "walk",
"type": "teleport",
"x": -3891.55,
"y": -4389.92,
"action_params": ""
},
{
"id": 2,
"x": -3890.04,
"y": -4380.16,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -3904.0,
"y": -4298.52,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": ""
},
{
"id": 4,
"x": -3908.27,
"y": -4290.55,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "稻妻5-清籁岛-2-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -3891.6,
"y": -4389.84,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -3889.78,
"y": -4379.27,
"type": "path",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -3864.95,
"y": -4296.42,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 4,
"x": -3855.22,
"y": -4263.13,
"type": "path",
"move_mode": "fly",
"action": "stop_flying",
"action_params": ""
},
{
"id": 5,
"x": -3850.88,
"y": -4242.27,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "稻妻5-清籁岛-3-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -3684.62,
"y": -4278.47,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": -3740.83,
"y": -4264.94,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": -3762.54,
"y": -4259.52,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,39 @@
{
"info": {
"name": "稻妻5-清籁岛-4-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -3684.76,
"y": -4278.4,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": -3677.5,
"y": -4293.6,
"type": "path",
"move_mode": "dash",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": -3703.34,
"y": -4343.16,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": ""
}
]
}
@@ -0,0 +1,57 @@
{
"info": {
"name": "稻妻5-清籁岛-5-rerun",
"type": "collect",
"author": "起个名字好难的喵",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": -3684.76,
"y": -4278.4,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": -3677.5,
"y": -4293.6,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": -3703.34,
"y": -4343.16,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 4,
"x": -3697.79,
"y": -4384.0,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "path"
},
{
"id": 5,
"x": -3671.61,
"y": -4414.03,
"action": "",
"move_mode": "dash",
"action_params": "",
"type": "target"
}
]
}
@@ -0,0 +1,40 @@
{
"info": {
"name": "纳塔1-隆崛坡-4-rerun",
"type": "collect",
"author": "ddaodan",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 7857.52,
"y": -1751.26,
"type": "teleport",
"move_mode": "walk",
"action": "",
"action_params": ""
},
{
"id": 2,
"x": 7842.21,
"y": -1620.82,
"type": "path",
"move_mode": "fly",
"action": "",
"action_params": ""
},
{
"id": 3,
"x": 7853.72,
"y": -1554.26,
"type": "target",
"move_mode": "dash",
"action": "",
"action_params": "",
"locked": false
}
]
}
@@ -0,0 +1,48 @@
{
"info": {
"name": "纳塔10-溶水域-1-rerun",
"type": "collect",
"author": "寒烟",
"version": "1.1",
"description": "",
"bgi_version": "0.42.3"
},
"positions": [
{
"id": 1,
"x": 8291.35,
"y": -2922.46,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "teleport"
},
{
"id": 2,
"x": 8311.51,
"y": -2943.5,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "path"
},
{
"id": 3,
"x": 8360.95,
"y": -2994.78,
"action": "stop_flying",
"move_mode": "fly",
"action_params": "0.5",
"type": "path"
},
{
"id": 4,
"x": 8361.82,
"y": -2993.79,
"action": "",
"move_mode": "walk",
"action_params": "",
"type": "target"
}
]
}
Loaded 100 of 724 files, more files were not shown because too many files have changed in this diff. Show more