Skip to content

Commit

Permalink
Merge pull request #415 from Four-amer/main
Browse files Browse the repository at this point in the history
Adjusted `WillHaveXCharges`
  • Loading branch information
LTS-FFXIV authored Sep 27, 2024
2 parents f1aea59 + 980b68d commit 60c8af1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver.Basic/Actions/ActionCooldownInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public bool WillHaveXCharges(uint charges, float remain)
if (charges <= CurrentCharges)
return true;

float requiredTime = (charges - CurrentCharges) * RecastTimeOneChargeRaw;
float requiredTime = (charges - CurrentCharges - 1) * RecastTimeOneChargeRaw;
return RecastTimeRemainOneCharge <= remain - requiredTime;
}

Expand Down
1 change: 1 addition & 0 deletions RotationSolver.Basic/Rotations/Basic/BardRotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public override void DisplayStatus()
ImGui.Text("SongTimeRaw: " + SongTimeRaw.ToString());
ImGui.Text("SongTime: " + SongTime.ToString());
ImGui.Text("BloodletterMax: " + BloodletterMax.ToString());
ImGui.Text("Bloodlettercharges: " + BloodletterPvE.Cooldown.CurrentCharges.ToString());
}
#endregion

Expand Down

0 comments on commit 60c8af1

Please sign in to comment.