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 #18 from FFXIV-CombatReborn/API-2-LOLOLOLOLOLOL
Browse files Browse the repository at this point in the history
PULL THE LEVAH CRONK
  • Loading branch information
Toshi authored Jul 2, 2024
2 parents 6ffb437 + b31a2b0 commit 2d9660e
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 32 deletions.
2 changes: 1 addition & 1 deletion BasicRotations/Healer/SCH_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace DefaultRotations.Healer;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Healer/SCH_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class SCH_Default : ScholarRotation
{
#region Config Options
Expand Down
2 changes: 1 addition & 1 deletion BasicRotations/Healer/SGE_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace DefaultRotations.Healer;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Healer/SGE_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class SGE_Default : SageRotation
{
#region Config Options
Expand Down
2 changes: 1 addition & 1 deletion BasicRotations/Healer/WHM_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace DefaultRotations.Healer;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Healer/WHM_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class WHM_Default :WhiteMageRotation
{
#region Config Options
Expand Down
2 changes: 1 addition & 1 deletion BasicRotations/Magical/RDM_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace DefaultRotations.Magical;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Magical/RDM_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class RDM_Default : RedMageRotation
{
#region Config Options
Expand Down
2 changes: 1 addition & 1 deletion BasicRotations/Magical/SMN_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace DefaultRotations.Magical;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Magical/SMN_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class SMN_Default : SummonerRotation
{
#region Config Options
Expand Down
11 changes: 4 additions & 7 deletions BasicRotations/Melee/DRG_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ namespace DefaultRotations.Melee;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Melee/DRG_Default.cs")]
[Api(1)]
[Api(2)]

public sealed class DRG_Default : DragoonRotation
{/*
{
#region Config Options
[RotationDesc(ActionID.WingedGlidePvE, ActionID.DragonfireDivePvE)]

Expand All @@ -16,7 +16,6 @@ public sealed class DRG_Default : DragoonRotation
#region Move Logic
protected override bool MoveForwardAbility(IAction nextGCD, out IAction act)
{
if (SpineshatterDivePvE.CanUse(out act)) return true;
if (DragonfireDivePvE.CanUse(out act, skipAoeCheck: true)) return true;

return false;
Expand Down Expand Up @@ -45,7 +44,6 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)
if (LanceChargePvE.CanUse(out act, skipAoeCheck: true) && Player.HasStatus(true, StatusID.PowerSurge)) return true;
if (LanceChargePvE.CanUse(out act, skipAoeCheck: true) && !Player.HasStatus(true, StatusID.PowerSurge)) return true;

if (DragonSightPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (BattleLitanyPvE.CanUse(out act, skipAoeCheck: true)) return true;
}

Expand All @@ -63,11 +61,9 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)

if (GeirskogulPvE.CanUse(out act, skipAoeCheck: true)) return true;

if (SpineshatterDivePvE.CanUse(out act, usedUp: true))
{
if (Player.HasStatus(true, StatusID.LanceCharge) && LanceChargePvE.Cooldown.ElapsedOneChargeAfterGCD(3)) return true;
}
if (Player.HasStatus(true, StatusID.PowerSurge) && SpineshatterDivePvE.Cooldown.CurrentCharges != 1 && SpineshatterDivePvE.CanUse(out act)) return true;

if (MirageDivePvE.CanUse(out act)) return true;

Expand All @@ -93,6 +89,7 @@ protected override bool GeneralGCD(out IAction? act)
if (DoomSpikePvE.CanUse(out act, skipComboCheck: doomSpikeRightNow)) return true;


if (DrakesbanePvE.CanUse(out act)) return true;
if (WheelingThrustPvE.CanUse(out act)) return true;
if (FangAndClawPvE.CanUse(out act)) return true;

Expand All @@ -112,4 +109,4 @@ protected override bool GeneralGCD(out IAction? act)
return base.GeneralGCD(out act);
}
#endregion
*/}
}
8 changes: 4 additions & 4 deletions BasicRotations/Melee/MNK_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ namespace DefaultRotations.Melee;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00", Description = "Uses Lunar Solar Opener from The Balance")]
[SourceCode(Path = "main/DefaultRotations/Melee/MNK_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class MNK_Default : MonkRotation
{/*
{
#region Config Options
[RotationConfig(CombatType.PvE, Name = "Use Form Shift")]
public bool AutoFormShift { get; set; } = true;
Expand Down Expand Up @@ -118,7 +118,7 @@ protected override bool GeneralGCD(out IAction? act)

if (OpoOpoForm(out act)) return true; // Fallback to Use OpoOpo Form GCDs

if (Chakra < 5 && MeditationPvE.CanUse(out act)) return true;
if (Chakra < 5 && ForbiddenMeditationPvE.CanUse(out act)) return true;

if (AutoFormShift && FormShiftPvE.CanUse(out act)) return true; // Form Shift GCD use

Expand Down Expand Up @@ -210,4 +210,4 @@ bool SolarNadi(out IAction? act)
return CoerlForm(out act);
}
#endregion
*/}
}
7 changes: 3 additions & 4 deletions BasicRotations/Melee/SAM_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Melee/SAM_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class SAM_Default : SamuraiRotation
{/*
{
#region Config Options

[Range(0, 85, ConfigUnitType.None, 5)]
Expand Down Expand Up @@ -47,7 +47,6 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)
if (HissatsuSeneiPvE.CanUse(out act)) return true;
}

if (ShohaIiPvE.CanUse(out act)) return true;
if (ShohaPvE.CanUse(out act)) return true;

if (Kenki >= 50 && IkishotenPvE.Cooldown.WillHaveOneCharge(10) || Kenki >= AddKenki || IsTargetBoss && IsTargetDying)
Expand Down Expand Up @@ -131,4 +130,4 @@ protected override bool GeneralGCD(out IAction? act)
private static bool HaveMeikyoShisui => Player.HasStatus(true, StatusID.MeikyoShisui);

#endregion
*/}
}
2 changes: 1 addition & 1 deletion BasicRotations/Ranged/BRD_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DefaultRotations.Ranged;
[Rotation("Default", CombatType.PvE, GameVersion = "7.00",
Description = "Please make sure that the three song times add up to 120 seconds, Wanderers default first song for now.")]
[SourceCode(Path = "main/DefaultRotations/Ranged/BRD_Default.cs")]
[Api(1)]
[Api(2)]
public sealed class BRD_Default : BardRotation
{
#region Config Options
Expand Down
2 changes: 1 addition & 1 deletion BasicRotations/RebornRotations.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<None Remove="Duty\PVPRotations\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="RotationSolverReborn.Basic" Version="7.0.0" />
<PackageReference Include="RotationSolverReborn.Basic" Version="7.0.0.7" />
</ItemGroup>
<ItemGroup>
<Reference Include="Dalamud">
Expand Down
10 changes: 5 additions & 5 deletions BasicRotations/Tank/DRK_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ namespace DefaultRotations.Tank;

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Tank/DRK_Balance.cs")]
[Api(1)]
[Api(2)]
public sealed class DRK_Default : DarkKnightRotation
{/*
{
#region Config Options
[RotationConfig(CombatType.PvE, Name = "Keep at least 3000 MP")]
public bool TheBlackestNight { get; set; } = true;
Expand Down Expand Up @@ -124,13 +124,13 @@ protected override bool AttackAbility(IAction nextGCD, out IAction? act)

}

if (PlungePvE.CanUse(out act, skipAoeCheck: true) && !IsMoving) return true;
if (ShadowstridePvE.CanUse(out act, skipAoeCheck: true) && !IsMoving) return true;

if (SaltAndDarknessPvE.CanUse(out act)) return true;

if (InTwoMIsBurst)
{
if (PlungePvE.CanUse(out act, usedUp: true, skipAoeCheck: true) && !IsMoving) return true;
if (ShadowstridePvE.CanUse(out act, usedUp: true, skipAoeCheck: true) && !IsMoving) return true;
}
if (MergedStatus.HasFlag(AutoStatus.MoveForward) && MoveForwardAbility(nextGCD, out act)) return true;
return base.AttackAbility(nextGCD, out act);
Expand Down Expand Up @@ -209,4 +209,4 @@ private bool CheckDarkSide
}
}
#endregion
*/}
}
10 changes: 5 additions & 5 deletions BasicRotations/Tank/PLD_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[Rotation("Default", CombatType.PvE, GameVersion = "7.00")]
[SourceCode(Path = "main/DefaultRotations/Tank/PLD_Default.cs")]
[Api(1)]
[Api(2)]
public class PLD_Default : PaladinRotation
{/*
{
#region Config Options
[RotationConfig(CombatType.PvE, Name = "Use Divine Veil at 15 seconds remaining on Countdown")]
public bool UseDivineVeilPre { get; set; } = false;
Expand Down Expand Up @@ -157,10 +157,10 @@ protected override bool GeneralGCD(out IAction? act)
#region Extra Methods
private bool UseOath(out IAction act, bool onLast = false)
{
if (SheltronPvE.CanUse(out act, onLastAbility: onLast)) return true;
if (InterventionPvE.CanUse(out act, onLastAbility: onLast)) return true;
if (SheltronPvE.CanUse(out act)) return true;
if (InterventionPvE.CanUse(out act)) return true;

return false;
}
#endregion
*/}
}

0 comments on commit 2d9660e

Please sign in to comment.