Skip to content

Commit

Permalink
Some formatting fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
awgil committed Apr 29, 2024
1 parent 2c26efc commit c8f6163
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 3 additions & 6 deletions BossMod/Autorotation/MNK/MNKRotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -328,14 +328,12 @@ public static ActionID GetNextBestOGCD(State state, Strategy strategy, float dea
state.Unlocked(AID.SteelPeak)
&& state.Chakra == 5
&& state.CanWeave(CDGroup.SteelPeak, 0.6f, deadline)
&& (
// prevent early use in opener
state.CD(CDGroup.RiddleOfFire) > 0
&& (state.CD(CDGroup.RiddleOfFire) > 0 // prevent early use in opener
|| strategy.FireUse == Strategy.FireStrategy.Delay
|| strategy.FireUse == Strategy.FireStrategy.DelayUntilBrotherhood
|| !state.Unlocked(AID.RiddleOfFire)
)
)
)
{
// L15 Steel Peak is 180p
// L40 Howling Fist is 100p/target => HF at 2+ targets
Expand Down Expand Up @@ -506,8 +504,7 @@ private static bool ShouldUseBrotherhood(State state, Strategy strategy, float d
// the default opener is bhood after first bootshine

Check failure on line 504 in BossMod/Autorotation/MNK/MNKRotation.cs

View workflow job for this annotation

GitHub Actions / Build

Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
state.LeadenFistLeft == 0

Check failure on line 505 in BossMod/Autorotation/MNK/MNKRotation.cs

View workflow job for this annotation

GitHub Actions / Build

Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
// later uses can be asap

Check failure on line 506 in BossMod/Autorotation/MNK/MNKRotation.cs

View workflow job for this annotation

GitHub Actions / Build

Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|| strategy.CombatTimer > 30
);
|| strategy.CombatTimer > 30);
}

private static bool ShouldUsePB(State state, Strategy strategy, float deadline)
Expand Down
6 changes: 2 additions & 4 deletions BossMod/Autorotation/SAM/SAMRotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,8 @@ private static bool ShouldUseTrueNorth(State state, Strategy strategy)
private static bool ShouldUseBurst(State state, Strategy strategy, float deadline)
{
return state.RaidBuffsLeft > deadline
// fight will end before next window, use everything
|| strategy.RaidBuffsIn > strategy.FightEndIn
// general combat, no module active. yolo
|| strategy.RaidBuffsIn > 9000;
|| strategy.RaidBuffsIn > strategy.FightEndIn // fight will end before next window, use everything
|| strategy.RaidBuffsIn > 9000; // general combat, no module active. yolo
}

private static bool ShouldRefreshHiganbana(State state, Strategy strategy, uint gcdsInAdvance = 0)
Expand Down

0 comments on commit c8f6163

Please sign in to comment.