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

Commit

Permalink
fix: PLD test the usage of holy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 4, 2023
1 parent 2dc2572 commit ea17382
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions RotationSolver/Rotations/Tank/PLD/PLD_Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,26 @@ private protected override bool AttackAbility(byte abilitiesRemaining, out IActi
if (Player.WillStatusEndGCD(4, 0, true, StatusID.FightOrFlight)
&& Requiescat.CanUse(out act, mustUse: true)) return true;

if (HasFightOrFlight && Intervene.CanUse(out act, true, true)) return true;
if (!IsMoving && Intervene.CanUse(out act, true, HasFightOrFlight)) return true;
return false;
}

private static bool UseHoly => HasDivineMight && !FightorFlight.WillHaveOneChargeGCD(1);

private protected override bool GeneralGCD(out IAction act)
{
if (Confiteor.CanUse(out act, mustUse: true))
if(Player.HasStatus(true, StatusID.Requiescat))
{
if (Player.HasStatus(true, StatusID.ConfiteorReady)) return true;
if (Confiteor.ID != Confiteor.AdjustedID) return true;
if (Confiteor.CanUse(out act, mustUse: true))
{
if (Player.HasStatus(true, StatusID.ConfiteorReady)) return true;
if (Confiteor.ID != Confiteor.AdjustedID) return true;
}
if (HolyCircle.CanUse(out act)) return true;
if (HolySpirit.CanUse(out act)) return true;
}


//AOE
if (UseHoly && HolyCircle.CanUse(out act)) return true;
if (Prominence.CanUse(out act)) return true;
Expand Down

0 comments on commit ea17382

Please sign in to comment.