Skip to content

Commit

Permalink
Merge pull request #471 from ShalolaAuthor/main
Browse files Browse the repository at this point in the history
also include lady and crown
  • Loading branch information
LTS-FFXIV authored Dec 14, 2024
2 parents e09ac2d + 92e8da4 commit 2418910
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions RotationSolver.Basic/Rotations/Basic/AstrologianRotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ partial class AstrologianRotation
/// </summary>
public static bool HasSpire => DrawnCard.Any(card => card == CardType.SPIRE);

/// <summary>
///
/// </summary>
public static bool HasLord => DrawnCard.Any(card => card == CardType.LORD);

/// <summary>
///
/// </summary>
public static bool HasLady => DrawnCard.Any(card => card == CardType.LADY);

/// <summary>
/// Indicates the state of Minor Arcana and which card will be used next when activating Minor Arcana, LORD = 7, LADY = 8
/// </summary>
Expand Down Expand Up @@ -302,7 +312,7 @@ static partial void ModifyMinorArcanaPvE(ref ActionSetting setting)

static partial void ModifyLordOfCrownsPvE(ref ActionSetting setting)
{
setting.ActionCheck = () => DrawnCrownCard == CardType.LORD;
setting.ActionCheck = () => HasLord;
setting.IsFriendly = false;
setting.CreateConfig = () => new ActionConfig()
{
Expand All @@ -313,7 +323,7 @@ static partial void ModifyLordOfCrownsPvE(ref ActionSetting setting)

static partial void ModifyLadyOfCrownsPvE(ref ActionSetting setting)
{
setting.ActionCheck = () => DrawnCrownCard == CardType.LADY;
setting.ActionCheck = () => HasLady;
setting.IsFriendly = true;
setting.CreateConfig = () => new ActionConfig()
{
Expand Down

0 comments on commit 2418910

Please sign in to comment.