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

Commit

Permalink
fix: add AST play card restriction.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 20, 2023
1 parent 0c64b88 commit 15ae1f7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions RotationSolver.Basic/Rotations/Basic/AST_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ protected static bool PlayCard(out IAction act)
act = null;
if (!Seals.Contains(SealType.NONE)) return false;

if (Balance.CanUse(out act)) return true;
if (Arrow.CanUse(out act)) return true;
if (Spear.CanUse(out act)) return true;
if (Bole.CanUse(out act)) return true;
if (Ewer.CanUse(out act)) return true;
if (Spire.CanUse(out act)) return true;
if (Balance.CanUse(out act, CanUseOption.OnLastAbility)) return true;
if (Arrow.CanUse(out act, CanUseOption.OnLastAbility)) return true;
if (Spear.CanUse(out act, CanUseOption.OnLastAbility)) return true;
if (Bole.CanUse(out act, CanUseOption.OnLastAbility)) return true;
if (Ewer.CanUse(out act, CanUseOption.OnLastAbility)) return true;
if (Spire.CanUse(out act, CanUseOption.OnLastAbility)) return true;

return false;
}
Expand Down

0 comments on commit 15ae1f7

Please sign in to comment.