Skip to content

Commit

Permalink
0.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed Nov 4, 2024
1 parent a960f76 commit 5b054bf
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion BetterGenshinImpact/BetterGenshinImpact.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion BetterGenshinImpact/Core/Config/PathingConditionConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public PathingPartyConfig BuildPartyConfigByCondition(CombatScenes combatScenes)

foreach (var avatarCondition in AvatarConditions)
{
if (avatarCondition.Result == "作为主要行走人员")
if (avatarCondition.Result == "作为主要行走角色")
{
foreach (var avatar in combatScenes.Avatars)
{
Expand Down
8 changes: 4 additions & 4 deletions BetterGenshinImpact/GameTask/AutoFight/AutoFightTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ private async Task<bool> CheckFightFinish()

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");
}
Expand Down
2 changes: 1 addition & 1 deletion BetterGenshinImpact/Model/ConditionDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
4 changes: 2 additions & 2 deletions BetterGenshinImpact/View/Pages/View/PathingConfigView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -170,7 +170,7 @@
<ui:TextBlock Margin="10,0"
VerticalAlignment="Center"
Foreground="{ui:ThemeResource TextFillColorTertiaryBrush}">
则作为
则角色执行
</ui:TextBlock>

<!-- 结果 -->
Expand Down

0 comments on commit 5b054bf

Please sign in to comment.