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

Commit

Permalink
Merge pull request #74 from FFXIV-CombatReborn/Clean-RPR
Browse files Browse the repository at this point in the history
Rpr and Drg cleanup
  • Loading branch information
Toshi authored May 8, 2024
2 parents e549cbe + 5d9cc0e commit 03efbcf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion BasicRotations/Melee/DRG_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)
#region GCD Logic
protected override bool GeneralGCD(out IAction? act)
{
var doomSpikeRightNow = DoomSpikeWhenever;
bool doomSpikeRightNow = DoomSpikeWhenever;

if (CoerthanTormentPvE.CanUse(out act)) return true;
if (SonicThrustPvE.CanUse(out act)) return true;
Expand Down
13 changes: 7 additions & 6 deletions BasicRotations/Melee/RPR_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public sealed class RPR_Default : ReaperRotation
{
#region Config Options
[RotationConfig(CombatType.PvE, Name = "[Beta Option] Wait until 50 stacks of Shroud to use Enshroud.")]
[RotationConfig(CombatType.PvE, Name = "[Beta Option] Pool Shroud for Arcane Circle.")]
public bool EnshroudPooling { get; set; } = false;
#endregion

Expand All @@ -25,8 +25,10 @@ public sealed class RPR_Default : ReaperRotation
#region oGCD Logic
protected override bool AttackAbility(IAction nextGCD, out IAction? act)
{
var IsTargetBoss = HostileTarget?.IsBossFromTTK() ?? false;
var IsTargetDying = HostileTarget?.IsDying() ?? false;
bool IsTargetBoss = HostileTarget?.IsBossFromTTK() ?? false;
bool IsTargetDying = HostileTarget?.IsDying() ?? false;
bool NoEnshroudPooling = !EnshroudPooling && Shroud >= 50;
bool YesEnshroudPooling = EnshroudPooling && Shroud >= 50 && (!PlentifulHarvestPvE.EnoughLevel || Player.HasStatus(true, StatusID.ArcaneCircle) || ArcaneCirclePvE.Cooldown.WillHaveOneCharge(8) || !Player.HasStatus(true, StatusID.ArcaneCircle) && ArcaneCirclePvE.Cooldown.WillHaveOneCharge(65) && !ArcaneCirclePvE.Cooldown.WillHaveOneCharge(50) || !Player.HasStatus(true, StatusID.ArcaneCircle) && Shroud >= 90);

if (IsBurst)
{
Expand All @@ -45,8 +47,7 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)
&& ArcaneCirclePvE.CanUse(out act, skipAoeCheck: true)) return true;
}

if (IsTargetBoss && IsTargetDying || !EnshroudPooling && Shroud >= 50 || (EnshroudPooling && Shroud >= 50 &&
(!PlentifulHarvestPvE.EnoughLevel || Player.HasStatus(true, StatusID.ArcaneCircle) || ArcaneCirclePvE.Cooldown.WillHaveOneCharge(8) || !Player.HasStatus(true, StatusID.ArcaneCircle) && ArcaneCirclePvE.Cooldown.WillHaveOneCharge(65) && !ArcaneCirclePvE.Cooldown.WillHaveOneCharge(50) || !Player.HasStatus(true, StatusID.ArcaneCircle) && Shroud >= 90)))
if (IsTargetBoss && IsTargetDying || NoEnshroudPooling || YesEnshroudPooling)
{
if (EnshroudPvE.CanUse(out act)) return true;
}
Expand Down Expand Up @@ -161,4 +162,4 @@ private bool Reaping(out IAction? act)
return false;
}
#endregion
}
}

0 comments on commit 03efbcf

Please sign in to comment.