Skip to content

Commit

Permalink
Merge pull request #487 from FFXIV-CombatReborn/mnkHowling
Browse files Browse the repository at this point in the history
Sort out Howling Fist and Enlightment usage at range
  • Loading branch information
LTS-FFXIV authored Dec 23, 2024
2 parents e041979 + ea1b4d5 commit af9185d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
23 changes: 7 additions & 16 deletions BasicRotations/Melee/MNK_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public sealed class MNK_Default : MonkRotation
[RotationConfig(CombatType.PvE, Name = "Auto Use Perfect Balance (aoe aggressive PB dump, turn me off if you don't want to waste PB in boss fight)")]
public bool AutoPB_AOE { get; set; } = true;

[RotationConfig(CombatType.PvE, Name = "Use Howling Fist as a ranged attack verses single target enemies")]
public bool HowlingSingle { get; set; } = false;
[RotationConfig(CombatType.PvE, Name = "Use Howling Fist/Enlightenment as a ranged attack verses single target enemies")]
public bool HowlingSingle { get; set; } = true;

[RotationConfig(CombatType.PvE, Name = "Enable TEA Checker.")]
public bool EnableTEAChecker { get; set; } = false;
Expand Down Expand Up @@ -133,14 +133,8 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)
if (PerfectBalancePvE.CanUse(out act, usedUp: true)) return true;
}

// 'TFC is used in the first weave slot to avoid any chakra overcap from the following gcds.'
// dump 5 stacks of chakara
if (NumberOfHostilesInRange >= 2)
{
if (EnlightenmentPvE.CanUse(out act, skipAoeCheck: true)) return true; // Enlightment
if (HowlingFistPvE.CanUse(out act, skipAoeCheck: true)) return true; // Howling Fist
}
else
if (EnlightenmentPvE.CanUse(out act)) return true; // Enlightment
if (HowlingFistPvE.CanUse(out act)) return true; // Howling Fist
if (SteelPeakPvE.CanUse(out act)) return true;
if (TheForbiddenChakraPvE.CanUse(out act)) return true;

Expand All @@ -154,8 +148,9 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)
// 'Use on cooldown, unless you know your killtime. You should aim to get as many casts of RoW as you can, and then shift those usages to align with burst as much as possible without losing a use.'
if (!CombatElapsedLessGCD(3) && RiddleOfWindPvE.CanUse(out act)) return true; // Riddle Of Wind

// what's this? check later
if (MergedStatus.HasFlag(AutoStatus.MoveForward) && MoveForwardAbility(nextGCD, out act)) return true;
// i'm clever and i can do kame hame ha, so i won't stand still and keep refreshing form shift
if (EnlightenmentPvE.CanUse(out act, skipAoeCheck: HowlingSingle)) return true; // Enlightment
if (HowlingFistPvE.CanUse(out act, skipAoeCheck: HowlingSingle)) return true; // Howling Fist

return base.AttackAbility(nextGCD, out act);
}
Expand Down Expand Up @@ -246,10 +241,6 @@ protected override bool GeneralGCD(out IAction? act)
// out of range or nothing to do, refresh buff second, but dont keep refreshing or it draws too much attention
if (AutoFormShift && !Player.HasStatus(true, StatusID.PerfectBalance) && !Player.HasStatus(true, StatusID.FormlessFist) && FormShiftPvE.CanUse(out act)) return true; // Form Shift GCD use

// i'm clever and i can do kame hame ha, so i won't stand still and keep refreshing form shift
if (EnlightenmentPvE.CanUse(out act, skipAoeCheck: true)) return true; // Enlightment
if (HowlingFistPvE.CanUse(out act, skipAoeCheck: HowlingSingle)) return true; // Howling Fist

return base.GeneralGCD(out act);
}
#endregion
Expand Down

0 comments on commit af9185d

Please sign in to comment.