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

Commit

Permalink
Merge pull request #39 from FFXIV-CombatReborn/GNB-Reign-Fix
Browse files Browse the repository at this point in the history
GND Reign Fix
  • Loading branch information
Tykku authored Jul 5, 2024
2 parents c020473 + c41c5b8 commit 213f99d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions BasicRotations/Tank/GNB_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected override bool GeneralGCD(out IAction? act)
{
bool areDDTargetsInRange = AllHostileTargets.Any(hostile => hostile.DistanceToPlayer() < 4.5f);
if (FatedCirclePvE.CanUse(out act)) return true;
if (CanUseReignOfBeasts(out act)) return true;
if (CanUseReignOfBeastsComboChain(out act)) return true;
if (CanUseGnashingFang(out act)) return true;

if (DemonSlaughterPvE.CanUse(out act)) return true;
Expand Down Expand Up @@ -154,15 +154,13 @@ protected override bool GeneralGCD(out IAction? act)
// return false;
//}

private bool CanUseReignOfBeasts(out IAction? act)
private bool CanUseReignOfBeastsComboChain(out IAction? act)
{
if (ReignOfBeastsPvE.CanUse(out act))
{
if (DemonSlicePvE.CanUse(out _)) return true;

if (Player.HasStatus(true, StatusID.ReadyToReign)) return true;
bool IsReadyToReign = (Player.HasStatus(true, StatusID.ReadyToReign));

}
if (LionHeartPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (NobleBloodPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (ReignOfBeastsPvE.CanUse(out act, skipAoeCheck: true, skipStatusProvideCheck: IsReadyToReign)) return true;
return false;
}

Expand Down

0 comments on commit 213f99d

Please sign in to comment.