From 6cd35b4ed2ab4a370295a2d38dbb6cd0675d72a9 Mon Sep 17 00:00:00 2001 From: Tykku Date: Thu, 9 May 2024 13:20:30 -0400 Subject: [PATCH] Solo Cooldown Bool Added option for bloodwhetting/raw intuition while solo --- BasicRotations/Tank/WAR_Default.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BasicRotations/Tank/WAR_Default.cs b/BasicRotations/Tank/WAR_Default.cs index d0b1eda..d45038b 100644 --- a/BasicRotations/Tank/WAR_Default.cs +++ b/BasicRotations/Tank/WAR_Default.cs @@ -8,6 +8,8 @@ public sealed class WAR_Default : WarriorRotation #region Config Options [RotationConfig(CombatType.PvE, Name = "Only use Nascent Flash if Tank Stance is off")] public bool NeverscentFlash { get; set; } = false; + [RotationConfig(CombatType.PvE, Name = "Use Bloodwhetting/Raw intuition on single enemies")] + public bool SoloIntuition { get; set; } = false; #endregion #region Countdown Logic @@ -90,13 +92,14 @@ protected override bool GeneralAbility(IAction nextGCD, out IAction? act) // This method is responsible for determining the defensive abilities to use in a single-target situation. protected override bool DefenseSingleAbility(IAction nextGCD, out IAction? act) { + bool RawSingleTargets = SoloIntuition; act = null; // If the player currently has the Holmgang status and their health ratio is less than 0.3 (30%), don't use any defensive abilities. if (Player.HasStatus(true, StatusID.Holmgang_409) && Player.GetHealthRatio() < 0.3f) return false; - // If Raw Intuition can be used and there are more than 2 hostiles in range, use it. - if (RawIntuitionPvE.CanUse(out act, onLastAbility: true) && NumberOfHostilesInRange > 2) return true; + // If Raw Intuition can be used and there are more than 2 hostiles in range or SoloIntuition Config Option is checked, use it. + if (RawIntuitionPvE.CanUse(out act, onLastAbility: true) && (RawSingleTargets || NumberOfHostilesInRange > 2)) return true; // If the player's Bloodwhetting or Raw Intuition status will not end in the next GCD, don't use any defensive abilities. if (!Player.WillStatusEndGCD(0, 0, true, StatusID.Bloodwhetting, StatusID.RawIntuition)) return false;