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 #32 from hagazzi/main
Browse files Browse the repository at this point in the history
updated with Blade Combo + Supplication + Sepulchre
  • Loading branch information
Tykku authored Jul 4, 2024
2 parents dca82d9 + 1abfb6b commit 2f02fbc
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions BasicRotations/Tank/PLD_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ public class PLD_Default : PaladinRotation

[RotationConfig(CombatType.PvE, Name = "Use Shield Bash when Low Blow is cooling down")]
public bool UseShieldBash { get; set; } = true;

public static bool HasSupplicationReady => Player.HasStatus(true, StatusID.SupplicationReady);
public static bool HasSepulchreReady => Player.HasStatus(true, StatusID.SepulchreReady);

private const ActionID ConfiPvEActionId = (ActionID)16459;
private IBaseAction ConfiPvE = new BaseAction(ConfiPvEActionId);
#endregion

#region Countdown Logic
Expand Down Expand Up @@ -112,11 +118,11 @@ protected override bool GeneralGCD(out IAction? act)
{
if (Player.HasStatus(true, StatusID.Requiescat))
{
if (ConfiteorPvE.CanUse(out act, skipAoeCheck: true))
{
if (Player.HasStatus(true, StatusID.ConfiteorReady)) return true;
if (ConfiteorPvE.ID != ConfiteorPvE.AdjustedID) return true;
}
if (BladeOfHonorPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (BladeOfValorPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (BladeOfTruthPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (BladeOfFaithPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (ConfiPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (HolyCirclePvE.CanUse(out act)) return true;
if (HolySpiritPvE.CanUse(out act)) return true;
}
Expand All @@ -138,6 +144,9 @@ protected override bool GeneralGCD(out IAction? act)
//123
if (UseShieldBash && ShieldBashPvE.CanUse(out act)) return true;

if (HasSepulchreReady && SepulchrePvE.CanUse(out act)) return true;
if (HasSupplicationReady && SupplicationPvE.CanUse(out act)) return true;

if (RageOfHalonePvE.CanUse(out act)) return true;
if (RiotBladePvE.CanUse(out act)) return true;
if (FastBladePvE.CanUse(out act)) return true;
Expand Down

0 comments on commit 2f02fbc

Please sign in to comment.