Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
chore: 3.4.14 released.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Nov 7, 2023
1 parent 8a5be95 commit 2b2f966
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net7.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Authors>ArchiTed</Authors>
<Version>3.4.13</Version>
<Version>3.4.14</Version>
<PlatformTarget>x64</PlatformTarget>
<Platforms>AnyCPU</Platforms>

Expand Down
14 changes: 14 additions & 0 deletions RotationSolver.Basic/Actions/BaseAction_Target.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ public float TimeToKill
/// </summary>
public BattleChara Target { get; private set; } = Player.Object;

/// <summary>
/// Is this action's target dead?
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Please use Target.IsDying() instead.", true)]
public bool IsTargetDying => Target?.IsDying() ?? false;

/// <summary>
/// Is this action's target is a boss?
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Please use Target.IsBossFromTTK() or Target.IsBossFromIcon instead.", true)]
public bool IsTargetBoss => Target?.IsBossFromTTK() ?? false;

/// <inheritdoc/>
public BattleChara[] AffectedTargets { get; private set; } = Array.Empty<BattleChara>();

Expand Down
14 changes: 14 additions & 0 deletions RotationSolver.Basic/Actions/IBaseAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,20 @@ public interface IBaseAction : IAction
/// </summary>
bool IsSingleTarget { get; }

/// <summary>
/// Is target will die immediately.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Please use Target.IsDying() instead.", true)]
bool IsTargetDying { get; }

/// <summary>
/// Is target a boss.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Please use Target.IsBossFromTTK() or Target.IsBossFromIcon instead.", true)]
bool IsTargetBoss { get; }

/// <summary>
/// How many targets are needed to use this action.
/// </summary>
Expand Down

0 comments on commit 2b2f966

Please sign in to comment.