Skip to content

Commit

Permalink
Merge pull request #156 from FFXIV-CombatReborn/Sprint-Penalty-Fix-fo…
Browse files Browse the repository at this point in the history
…r-Deep-Dungeon

Sprint Penalty Fix for Deep Dungeon
  • Loading branch information
LTS-FFXIV authored May 15, 2024
2 parents 8d359d6 + d79e799 commit f5dc086
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion RotationSolver.Basic/Rotations/CustomRotation_Ability.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,10 @@ protected virtual bool SpeedAbility(IAction nextGCD, out IAction? act)
if (SprintPvP.CanUse(out act)) return true;

if (PelotonPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (SprintPvE.CanUse(out act)) return true;
if (!Player.HasStatus(false, StatusID.SprintPenalty))
{
if (SprintPvE.CanUse(out act)) return true;
}

if (DataCenter.RightNowDutyRotation?.SpeedAbility(nextGCD, out act) ?? false) return true;
return false;
Expand Down

0 comments on commit f5dc086

Please sign in to comment.