Skip to content

Commit

Permalink
Merge pull request #407 from aldros-ffxi/bugfix/brd-bloodletter-heart…
Browse files Browse the repository at this point in the history
…breakshot

Bugfix for BRD Bloodletter/HeartbreakShot
  • Loading branch information
MKhayle authored Aug 10, 2024
2 parents caf14dc + 8a182c3 commit dc94b00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions XIVComboExpanded/Combos/BRD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ internal class BardBloodletter : CustomCombo

protected override uint Invoke(uint actionID, uint lastComboMove, float comboTime, byte level)
{
if (actionID == BRD.Bloodletter)
if (actionID is BRD.Bloodletter or BRD.HeartbreakShot)
{
var gauge = GetJobGauge<BRDGauge>();

Expand All @@ -281,13 +281,13 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
if (IsEnabled(CustomComboPreset.BardBloodletterFeature))
{
if (level >= BRD.Levels.Sidewinder)
return CalcBestAction(actionID, BRD.Bloodletter, BRD.EmpyrealArrow, BRD.Sidewinder);
return CalcBestAction(actionID, OriginalHook(BRD.Bloodletter), BRD.EmpyrealArrow, BRD.Sidewinder);

if (level >= BRD.Levels.EmpyrealArrow)
return CalcBestAction(actionID, BRD.Bloodletter, BRD.EmpyrealArrow);
return CalcBestAction(actionID, OriginalHook(BRD.Bloodletter), BRD.EmpyrealArrow);

if (level >= BRD.Levels.Bloodletter)
return BRD.Bloodletter;
return OriginalHook(BRD.Bloodletter);
}

if (IsEnabled(CustomComboPreset.BardBloodRainFeature))
Expand Down

0 comments on commit dc94b00

Please sign in to comment.