Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1852 from edewen/Bard
Browse files Browse the repository at this point in the history
[BRD] Preventing Bloodletter/Rain of death from doubleweaving itself.
  • Loading branch information
Taurenkey authored Nov 17, 2024
2 parents 9994784 + 04bbd03 commit 4d5fb5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions XIVSlothCombo/Combos/PvE/BRD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
}


if (LevelChecked(RainOfDeath) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
if (LevelChecked(RainOfDeath) && !WasLastAction(RainOfDeath) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
{
uint rainOfDeathCharges = LevelChecked(RainOfDeath) ? GetRemainingCharges(RainOfDeath) : 0;

Expand Down Expand Up @@ -755,7 +755,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
}


if (ActionReady(Bloodletter) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
if (ActionReady(Bloodletter) && !(WasLastAction(Bloodletter) || WasLastAction(HeartbreakShot)) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
{
uint bloodletterCharges = GetRemainingCharges(Bloodletter);

Expand Down Expand Up @@ -1076,7 +1076,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
else return Sidewinder;
}

if (LevelChecked(RainOfDeath) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
if (LevelChecked(RainOfDeath) && !WasLastAction(RainOfDeath) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
{
uint rainOfDeathCharges = LevelChecked(RainOfDeath) ? GetRemainingCharges(RainOfDeath) : 0;

Expand Down Expand Up @@ -1305,7 +1305,7 @@ protected override uint Invoke(uint actionID, uint lastComboMove, float comboTim
}


if (ActionReady(Bloodletter) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
if (ActionReady(Bloodletter) && !(WasLastAction(Bloodletter) || WasLastAction(HeartbreakShot)) && (empyrealCD > 1 || !LevelChecked(EmpyrealArrow)))
{
uint bloodletterCharges = GetRemainingCharges(Bloodletter);

Expand Down

0 comments on commit 4d5fb5b

Please sign in to comment.