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

Commit

Permalink
Optimized warrior rotation. Perfection. (#81)
Browse files Browse the repository at this point in the history
* Update WAR_Default.cs
  • Loading branch information
SaschaDaSilva authored Jul 14, 2024
1 parent e9bf742 commit 47140eb
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions BasicRotations/Tank/WAR_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)
if (UseBurstMedicine(out act)) return true;

if (Player.HasStatus(false, StatusID.SurgingTempest)
&& !Player.WillStatusEndGCD(6, 0, true, StatusID.SurgingTempest)
&& !Player.WillStatusEndGCD(2, 0, true, StatusID.SurgingTempest) // Less delaying of Inner Release which resulted in unsynced burst windows outside of raid buffs (IR grants +10 secs to ST) The opener is 6 GCDS= 15s on 2.5gcd
|| !MythrilTempestPvE.EnoughLevel)
{
if (BerserkPvE.CanUse(out act)) return true;
Expand All @@ -77,7 +77,11 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)

if (OnslaughtPvE.CanUse(out act, usedUp: IsBurstStatus) &&
!IsMoving &&
!IsLastAction(true, OnslaughtPvE) &&
!IsLastAction(true, OnslaughtPvE) && // avoid clipping with auto heal defensives
!IsLastAction(true, EquilibriumPvE) && // avoid clipping with auto heal defensives
!IsLastAction(true, NascentFlashPvE) && // avoid clipping with auto heal defensives
!IsLastAction(true, ThrillOfBattlePvE) && // avoid clipping with auto heal defensives

Player.HasStatus(false, StatusID.SurgingTempest))
{
return true;
Expand Down Expand Up @@ -150,14 +154,14 @@ protected override bool GeneralGCD(out IAction? act)

if (!Player.WillStatusEndGCD(3, 0, true, StatusID.SurgingTempest))
{
// New check for Primal Ruination
if (Player.HasStatus(false, StatusID.PrimalRuinationReady) && !Player.HasStatus(false, StatusID.InnerRelease))

if (Player.HasStatus(false, StatusID.PrimalRuinationReady)) // Removed my initial Status check which delayed Ruination by roughly 15 seconds bc the opener on release was still semi-optimal. Ruination in opener is a big dps increase due to raid buffs
{
if (PrimalRuinationPvE.CanUse(out act, skipAoeCheck: true)) return true;
}
if (!IsMoving && PrimalRendPvE.CanUse(out act, skipAoeCheck: true))
{
if (PrimalRendPvE.Target.Target?.DistanceToPlayer() < 2) return true;
if (PrimalRendPvE.Target.Target?.DistanceToPlayer() < 1) return true; // back to default
}


Expand Down Expand Up @@ -196,4 +200,4 @@ protected override bool HealSingleGCD(out IAction? act)
#region Extra Methods
private static bool IsBurstStatus => !Player.WillStatusEndGCD(0, 0, false, StatusID.InnerStrength);
#endregion
}
}

0 comments on commit 47140eb

Please sign in to comment.