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

Commit

Permalink
fix: add StatusProvide for Oblation and Aurora
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 6, 2023
1 parent 7cd2c81 commit 1b8de8f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RotationSolver.Basic/Data/StatusID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1127,4 +1127,6 @@ public enum StatusID : ushort
Divination = 1878,

Mug = 3183,

Oblation = 2682,
}
1 change: 1 addition & 0 deletions RotationSolver.Basic/Rotations/Basic/DRK_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ protected static bool DarkSideEndAfterGCD(uint gctCount = 0, uint abilityCount =
/// </summary>
public static IBaseAction Oblation { get; } = new BaseAction(ActionID.Oblation, true, isTimeline: true)
{
StatusProvide = new StatusID[] { StatusID.Oblation },
ChoiceTarget = TargetFilter.FindAttackedTarget,
};

Expand Down
5 changes: 4 additions & 1 deletion RotationSolver.Basic/Rotations/Basic/GNB_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ public abstract class GNB_Base : CustomRotation
/// <summary>
/// 极光
/// </summary>
public static IBaseAction Aurora { get; } = new BaseAction(ActionID.Aurora, true, isTimeline: true);
public static IBaseAction Aurora { get; } = new BaseAction(ActionID.Aurora, true, isTimeline: true)
{
StatusProvide = new StatusID[] { StatusID.Aurora },
};

/// <summary>
/// 超火流星
Expand Down

0 comments on commit 1b8de8f

Please sign in to comment.