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

Commit

Permalink
Merge pull request #264 from Karaha-Baruha/main
Browse files Browse the repository at this point in the history
Use Reassemble on Spread/Scatter in low level AOE situations
  • Loading branch information
LTS-FFXIV authored Sep 28, 2024
2 parents e3efbbd + 4faadef commit 6614e43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions BasicRotations/Ranged/zMCH_Beta.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ protected override bool EmergencyAbility(IAction nextGCD, out IAction? act)
bool isReassembleUsable =
//Reassemble current # of charges and double proc protection
ReassemblePvE.Cooldown.CurrentCharges > 0 && !Player.HasStatus(true, StatusID.Reassembled) &&
(nextGCD.IsTheSameTo(true, [ChainSawPvE, ExcavatorPvE]) || nextGCD.IsTheSameTo(false, [AirAnchorPvE]) ||
(!ChainSawPvE.EnoughLevel && nextGCD.IsTheSameTo(true, DrillPvE)) ||
(!DrillPvE.EnoughLevel && nextGCD.IsTheSameTo(true, CleanShotPvE)) ||
(!CleanShotPvE.EnoughLevel && nextGCD.IsTheSameTo(false, HotShotPvE)));
(nextGCD.IsTheSameTo(true, [ChainSawPvE, ExcavatorPvE])
|| (!ChainSawPvE.EnoughLevel && nextGCD.IsTheSameTo(true, SpreadShotPvE) && ((IBaseAction)nextGCD).Target.AffectedTargets.Length >= (SpreadShotMasteryTrait.EnoughLevel ? 4 : 5))
|| nextGCD.IsTheSameTo(false, [AirAnchorPvE])
|| (!ChainSawPvE.EnoughLevel && nextGCD.IsTheSameTo(true, DrillPvE))
|| (!DrillPvE.EnoughLevel && nextGCD.IsTheSameTo(true, CleanShotPvE))
|| (!CleanShotPvE.EnoughLevel && nextGCD.IsTheSameTo(false, HotShotPvE)));
// Attempt to use Reassemble if it's ready
if (isReassembleUsable)
{
Expand Down
2 changes: 1 addition & 1 deletion BasicRotations/RebornRotations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Compile Include="Duty\EmanationDefault" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="RotationSolverReborn.Basic" Version="7.0.5.132" />
<PackageReference Include="RotationSolverReborn.Basic" Version="7.0.5.134" />
</ItemGroup>
<ItemGroup>
<Reference Include="Dalamud">
Expand Down

0 comments on commit 6614e43

Please sign in to comment.