This commit is contained in:
辉鸭蛋
2024-11-04 21:33:07 +08:00
parent a960f76920
commit 5b054bf31b
5 changed files with 9 additions and 9 deletions

View File

@@ -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>

View File

@@ -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)
{

View File

@@ -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");
}

View File

@@ -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()
{

View File

@@ -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>
<!-- 结果 -->