Skip to content

Commit

Permalink
Merge pull request #281 from bfabe8/patch-1
Browse files Browse the repository at this point in the history
Support Wide Volley and Barrage replacement for Quick Nock/Ladonsbite
  • Loading branch information
MKhayle authored Jul 8, 2024
2 parents bd8c4f4 + 8c463e8 commit 0a6dd84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions XIVComboExpanded/Combos/BRD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public const byte
RagingStrikes = 4,
VenomousBite = 6,
Bloodletter = 12,
WideVolley = 25,
MagesBallad = 30,
Windbite = 30,
Barrage = 38,
Expand Down Expand Up @@ -202,15 +203,15 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim

if (IsEnabled(CustomComboPreset.BardShadowbiteFeature))
{
if (level >= BRD.Levels.Shadowbite && HasEffect(BRD.Buffs.HawksEye))
if (level >= BRD.Levels.WideVolley && (HasEffect(BRD.Buffs.HawksEye) || HasEffect(BRD.Buffs.Barrage))
{
if (IsEnabled(CustomComboPreset.BardShadowbiteBarrageFeature))
{
if (level >= BRD.Levels.Barrage && IsOffCooldown(BRD.Barrage))
return BRD.Barrage;
}

return BRD.Shadowbite;
return OriginalHook(BRD.Shadowbite);
}
}
}
Expand Down Expand Up @@ -472,4 +473,4 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim

return actionID;
}
}
}

0 comments on commit 0a6dd84

Please sign in to comment.