From cf2f4cbbb1349ba858c57a6836eb55e9a9a56a9f Mon Sep 17 00:00:00 2001 From: LTS-FFXIV <127939494+LTS-FFXIV@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:07:22 -0600 Subject: [PATCH] Fix for cover usage and more granular configs --- BasicRotations/Tank/PLD_Default.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BasicRotations/Tank/PLD_Default.cs b/BasicRotations/Tank/PLD_Default.cs index fb739a77..5d932231 100644 --- a/BasicRotations/Tank/PLD_Default.cs +++ b/BasicRotations/Tank/PLD_Default.cs @@ -32,6 +32,9 @@ public sealed class PLD_Default : PaladinRotation [RotationConfig(CombatType.PvE, Name = "Use Holy Spirit when out of melee range")] private bool UseHolyWhenAway { get; set; } = false; + [RotationConfig(CombatType.PvE, Name = "Use Clemency with Requiescat")] + private bool RequiescatHealBot { get; set; } = true; + [Range(0, 1, ConfigUnitType.Percent)] [RotationConfig(CombatType.PvE, Name = "Minimum HP threshold party member needs to be to use Clemency with Requiescat")] public float ClemencyRequi { get; set; } = 0.2f; @@ -186,8 +189,8 @@ protected override bool HealSingleGCD(out IAction? act) { act = null; if (PassageProtec && Player.HasStatus(true, StatusID.PassageOfArms)) return false; - if (ClemencyPvE.Target.Target?.GetHealthRatio() < ClemencyRequi && RequiescatStacks > 0 && ClemencyPvE.CanUse(out act, skipCastingCheck: true)) return true; - if (HealBot && ClemencyPvE.Target.Target?.GetHealthRatio() < ClemencyNoRequi && ClemencyPvE.CanUse(out act)) return true; + if (RequiescatHealBot && RequiescatStacks > 0 && ClemencyPvE.CanUse(out act, skipCastingCheck: true) && ClemencyPvE.Target.Target?.GetHealthRatio() < ClemencyRequi) return true; + if (HealBot && ClemencyPvE.CanUse(out act) && ClemencyPvE.Target.Target?.GetHealthRatio() < ClemencyNoRequi) return true; return base.HealSingleGCD(out act); }