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

Commit

Permalink
Add hardcoded timing option back
Browse files Browse the repository at this point in the history
  • Loading branch information
Karaha-Baruha authored and Karaha-Baruha committed Sep 22, 2024
1 parent 75bd885 commit 2374457
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions BasicRotations/Ranged/zMCH_Beta_2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ namespace DefaultRotations.Ranged;
public sealed class zMCH_Beta_2 : MachinistRotation
{
#region Config Options

[RotationConfig(CombatType.PvE, Name = "Use hardcoded Queen timings\nSlight DPS gain if uninterrupted but possibly loses more from drift or death.")]
private bool UseBalanceQueenTimings { get; set; }
#endregion

private const float HYPERCHARGE_DURATION = 8f;
Expand Down Expand Up @@ -200,7 +201,27 @@ private bool ToolChargeSoon(out IAction? act)

private bool CanUseQueenMeow(out IAction? act, IAction nextGCD)
{
if (
bool QueenOne = Battery >= 60 && CombatElapsedLess(25f);
bool QueenTwo = Battery >= 90 && !CombatElapsedLess(58f) && CombatElapsedLess(78f);
bool QueenThree = Battery >= 100 && !CombatElapsedLess(111f) && CombatElapsedLess(131f);
bool QueenFour = Battery >= 50 && !CombatElapsedLess(148f) && CombatElapsedLess(168f);
bool QueenFive = Battery >= 60 && !CombatElapsedLess(178f) && CombatElapsedLess(198f);
bool QueenSix = Battery >= 100 && !CombatElapsedLess(230f) && CombatElapsedLess(250f);
bool QueenSeven = Battery >= 50 && !CombatElapsedLess(268f) && CombatElapsedLess(288f);
bool QueenEight = Battery >= 70 && !CombatElapsedLess(296f) && CombatElapsedLess(316f);
bool QueenNine = Battery >= 100 && !CombatElapsedLess(350f) && CombatElapsedLess(370f);
bool QueenTen = Battery >= 50 && !CombatElapsedLess(388f) && CombatElapsedLess(408f);
bool QueenEleven = Battery >= 80 && !CombatElapsedLess(416f) && CombatElapsedLess(436f);
bool QueenTwelve = Battery >= 100 && !CombatElapsedLess(470f) && CombatElapsedLess(490f);
bool QueenThirteen = Battery >= 50 && !CombatElapsedLess(505f) && CombatElapsedLess(525f);
bool QueenFourteen = Battery >= 60 && !CombatElapsedLess(538f) && CombatElapsedLess(558f);
bool QueenFifteen = Battery >= 100 && !CombatElapsedLess(590f) && CombatElapsedLess(610f);

if (UseBalanceQueenTimings && (QueenOne || QueenTwo || QueenThree || QueenFour || QueenFive || QueenSix || QueenSeven || QueenEight || QueenNine || QueenTen || QueenEleven || QueenTwelve || QueenThirteen || QueenFourteen || QueenFifteen))
{
if (RookAutoturretPvE.CanUse(out act)) return true;
}
else if (
// ASAP in opener
(CombatElapsedLessGCD(10))
// In first 10 seconds of 2 minute window
Expand Down

0 comments on commit 2374457

Please sign in to comment.