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

Commit

Permalink
fix: ast base remove action Crown Play
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jan 22, 2023
1 parent c011885 commit 10e9d1f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions RotationSolver/Rotations/Basic/AST_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,13 @@ internal abstract class AST_Base : CustomRotation.CustomRotation
ActionCheck = b => InCombat && DrawnCrownCard == CardType.NONE,
};

/// <summary>
/// 出王冠卡
/// </summary>
public static IBaseAction CrownPlay { get; } = new BaseAction(ActionID.CrownPlay)
{
ActionCheck = b => DrawnCrownCard is CardType.LADY or CardType.LORD,
};
///// <summary>
///// 出王冠卡
///// </summary>
//public static IBaseAction CrownPlay { get; } = new BaseAction(ActionID.CrownPlay)
//{
// ActionCheck = b => DrawnCrownCard is CardType.LADY or CardType.LORD,
//};

/// <summary>
/// 太阳神之衡
Expand Down
8 changes: 4 additions & 4 deletions RotationSolver/Rotations/Healer/AST/AST_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ internal sealed class AST_Default : AST_Base

public override SortedList<DescType, string> DescriptionDict => new()
{
{DescType.HealArea, $"{AspectedHelios}, {Helios}\n {EarthlyStar}, {CrownPlay}, {CelestialOpposition}"},
{DescType.HealArea, $"{AspectedHelios}, {Helios}\n {EarthlyStar}, {CelestialOpposition}"},
{DescType.HealSingle, $"{AspectedBenefic}, {Benefic2}, {Benefic}\n{CelestialIntersection}, {EssentialDignity}"},
{DescType.DefenseArea, $"{CollectiveUnconscious}"},
{DescType.DefenseSingle, $"{Exaltation}"},
Expand Down Expand Up @@ -148,7 +148,7 @@ private protected override bool AttackAbility(byte abilityRemain, out IAction ac
if (DrawnCrownCard == CardType.LORD || MinorArcana.WillHaveOneChargeGCD(1))
{
//进攻牌,随便发。或者CD要转好了,赶紧发掉。
if (CrownPlay.ShouldUse(out act)) return true;
if (MinorArcana.ShouldUse(out act)) return true;
}

//发牌
Expand All @@ -170,7 +170,7 @@ private protected override bool HealSingleAbility(byte abilityRemain, out IActio
if (CelestialIntersection.ShouldUse(out act, emptyOrSkipCombo: true)) return true;

//奶量牌,要看情况。
if (DrawnCrownCard == CardType.LADY && CrownPlay.ShouldUse(out act)) return true;
if (DrawnCrownCard == CardType.LADY && MinorArcana.ShouldUse(out act)) return true;

var tank = TargetUpdater.PartyTanks;
var isBoss = Malefic.IsTargetBoss;
Expand Down Expand Up @@ -215,7 +215,7 @@ private protected override bool HealAreaAbility(byte abilityRemain, out IAction
if (Player.HasStatus(true, StatusID.HoroscopeHelios) && Horoscope.ShouldUse(out act)) return true;

//奶量牌,要看情况。
if (DrawnCrownCard == CardType.LADY && CrownPlay.ShouldUse(out act)) return true;
if (DrawnCrownCard == CardType.LADY && MinorArcana.ShouldUse(out act)) return true;

return false;
}
Expand Down

0 comments on commit 10e9d1f

Please sign in to comment.