mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-04-27 22:49:46 +08:00
0.36.0
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<ApplicationIcon>Assets\Images\logo.ico</ApplicationIcon>
|
||||
<AssemblyName>BetterGI</AssemblyName>
|
||||
<AssemblyVersion>0.35.5</AssemblyVersion>
|
||||
<AssemblyVersion>0.36.0</AssemblyVersion>
|
||||
<Platforms>x64</Platforms>
|
||||
<DebugType>embedded</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -111,7 +111,7 @@ public partial class PathingConditionConfig : ObservableObject
|
||||
|
||||
foreach (var avatarCondition in AvatarConditions)
|
||||
{
|
||||
if (avatarCondition.Result == "作为主要行走人员")
|
||||
if (avatarCondition.Result == "作为主要行走角色")
|
||||
{
|
||||
foreach (var avatar in combatScenes.Avatars)
|
||||
{
|
||||
|
||||
@@ -161,10 +161,10 @@ public class AutoFightTask : ISoloTask
|
||||
|
||||
private bool HasFightFlag(ImageRegion imageRegion)
|
||||
{
|
||||
if (RuntimeHelper.IsDebug)
|
||||
{
|
||||
imageRegion.SrcMat.SaveImage(Global.Absolute(@"log\fight\" + $"{DateTime.Now:yyyyMMdd_HHmmss_ffff}.png"));
|
||||
}
|
||||
// if (RuntimeHelper.IsDebug)
|
||||
// {
|
||||
// imageRegion.SrcMat.SaveImage(Global.Absolute(@"log\fight\" + $"{DateTime.Now:yyyyMMdd_HHmmss_ffff}.png"));
|
||||
// }
|
||||
var dict = _predictor.Detect(imageRegion);
|
||||
return dict.ContainsKey("health_bar") || dict.ContainsKey("enemy_identify");
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ public class ConditionDefinitions
|
||||
|
||||
public static List<string> AvatarSubjects { get; } = ["队伍中角色"];
|
||||
|
||||
public static List<string> AvatarResultList { get; } = ["循环短E", "循环长E", "主要行走角色"];
|
||||
public static List<string> AvatarResultList { get; } = ["循环短E", "循环长E", "作为主要行走角色"];
|
||||
|
||||
public static Dictionary<string, string> ActionCnDic { get; } = new()
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
<ui:TextBlock Margin="0,0,0,8"
|
||||
FontTypography="BodyStrong"
|
||||
Text="队伍切换设置" />
|
||||
Text="队伍切换设置(路径中存在符合条件的动作、采集物的情况下,自动切换至对应队伍)" />
|
||||
<!-- 使用ItemsControl来动态显示筛选条件 -->
|
||||
<ItemsControl dd:DragDrop.IsDragSource="True"
|
||||
dd:DragDrop.IsDropTarget="True"
|
||||
@@ -170,7 +170,7 @@
|
||||
<ui:TextBlock Margin="10,0"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="{ui:ThemeResource TextFillColorTertiaryBrush}">
|
||||
则作为
|
||||
则角色执行
|
||||
</ui:TextBlock>
|
||||
|
||||
<!-- 结果 -->
|
||||
|
||||
Reference in New Issue
Block a user