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

Commit

Permalink
fix: brd's Rain of Death changed the AOECount from 3 to 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 17, 2023
1 parent 54b523b commit 88c805c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions RotationSolver.Basic/Data/ActionID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ public enum ActionID : uint
/// <summary>
/// 死亡箭雨
/// </summary>
RainofDeath = 117,
RainOfDeath = 117,

/// <summary>
/// 连珠箭
Expand All @@ -935,7 +935,7 @@ public enum ActionID : uint
/// <summary>
/// 影噬箭
/// </summary>
Shadowbite = 16494,
ShadowBite = 16494,

/// <summary>
/// 光阴神的礼赞凯歌
Expand Down
7 changes: 5 additions & 2 deletions RotationSolver.Basic/Rotations/Basic/BRD_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ public abstract class BRD_Base : CustomRotation
/// <summary>
/// 死亡箭雨
/// </summary>
public static IBaseAction RainofDeath { get; } = new BaseAction(ActionID.RainofDeath);
public static IBaseAction RainOfDeath { get; } = new BaseAction(ActionID.RainOfDeath)
{
AOECount = 2,
};

/// <summary>
/// 连珠箭
Expand All @@ -161,7 +164,7 @@ public abstract class BRD_Base : CustomRotation
/// <summary>
/// 影噬箭
/// </summary>
public static IBaseAction Shadowbite { get; } = new BaseAction(ActionID.Shadowbite)
public static IBaseAction ShadowBite { get; } = new BaseAction(ActionID.ShadowBite)
{
StatusNeed = new[] { StatusID.ShadowbiteReady }
};
Expand Down
4 changes: 2 additions & 2 deletions RotationSolver.Default/Ranged/BRD_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected override bool GeneralGCD(out IAction act)
}

//群体GCD
if (Shadowbite.CanUse(out act)) return true;
if (ShadowBite.CanUse(out act)) return true;
if (QuickNock.CanUse(out act)) return true;

//上毒
Expand Down Expand Up @@ -169,7 +169,7 @@ protected override bool AttackAbility(byte abilitiesRemaining, out IAction act)
if (EmpyrealArrow.IsCoolingDown || !EmpyrealArrow.WillHaveOneChargeGCD() || Repertoire != 3 || !EmpyrealArrow.EnoughLevel)
{
//死亡剑雨
if (RainofDeath.CanUse(out act, emptyOrSkipCombo: empty)) return true;
if (RainOfDeath.CanUse(out act, emptyOrSkipCombo: empty)) return true;

//失血箭
if (Bloodletter.CanUse(out act, emptyOrSkipCombo: empty)) return true;
Expand Down

0 comments on commit 88c805c

Please sign in to comment.