Skip to content

Commit

Permalink
Fix for cover usage and more granular configs
Browse files Browse the repository at this point in the history
  • Loading branch information
LTS-FFXIV committed Jan 13, 2025
1 parent 911c9f4 commit cf2f4cb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions BasicRotations/Tank/PLD_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit cf2f4cb

Please sign in to comment.