Skip to content

Commit

Permalink
[PUSH] 1.5.0.2 - Tentative PLD fix for Blade of Honor
Browse files Browse the repository at this point in the history
Imperator data
Blade of Honor Ready check
  • Loading branch information
MKhayle committed Jul 2, 2024
1 parent 1858f35 commit 1c5ac6a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions XIVComboExpanded/Combos/PLD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public const uint
BladeOfValor = 25750,
Supplication = 36918,
Sepulchre = 36919,
Imperator = 36921,
BladeOfHonor = 36922;

public static class Buffs
Expand All @@ -43,7 +44,8 @@ public const ushort
ConfiteorReady = 3019,
SupplicationReady = 3827,
SepulchreReady = 3828,
GoringBladeReady = 3847;
GoringBladeReady = 3847,
BladeOfHonorReady = 3831;
}

public static class Debuffs
Expand Down Expand Up @@ -284,7 +286,7 @@ internal class PaladinRequiescat : PaladinCombo

protected override uint Invoke(uint actionID, uint lastComboMove, float comboTime, byte level)
{
if (actionID == PLD.Requiescat)
if (actionID == PLD.Requiescat || actionID == PLD.Imperator)
{
if (IsEnabled(CustomComboPreset.PaladinRequiescatCombo))
{
Expand Down Expand Up @@ -317,7 +319,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
if (original != PLD.Confiteor)
return original;

if (HasEffect(PLD.Buffs.ConfiteorReady))
if (HasEffect(PLD.Buffs.ConfiteorReady) || HasEffect(PLD.Buffs.BladeOfHonorReady))
return PLD.Confiteor;
}

Expand Down

0 comments on commit 1c5ac6a

Please sign in to comment.