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 #194 from FFXIV-CombatReborn/MoarFixes
Browse files Browse the repository at this point in the history
Add MicroPrio option and update AOE ability checks
  • Loading branch information
LTS-FFXIV authored Aug 23, 2024
2 parents 7113fdf + 13833e8 commit 6bef58a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions BasicRotations/Healer/AST_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ public sealed class AST_Default : AstrologianRotation

[RotationConfig(CombatType.PvE, Name = "Prevent actions while you have the bubble mit up")]
public bool BubbleProtec { get; set; } = false;

[RotationConfig(CombatType.PvE, Name = "Prioritize Microcosmos over all other healing when available")]
public bool MicroPrio { get; set; } = false;

[Range(4, 20, ConfigUnitType.Seconds)]
[RotationConfig(CombatType.PvE, Name = "Use Earthly Star during countdown timer.")]
Expand Down Expand Up @@ -104,6 +107,7 @@ protected override bool HealSingleGCD(out IAction? act)
{
act = null;
if (BubbleProtec && Player.HasStatus(true, StatusID.CollectiveUnconscious_848)) return false;
if (MicroPrio && Player.HasStatus(true, StatusID.Macrocosmos)) return false;

if (AspectedBeneficPvE.CanUse(out act)
&& (IsMoving
Expand All @@ -120,6 +124,7 @@ protected override bool HealAreaGCD(out IAction? act)
{
act = null;
if (BubbleProtec && Player.HasStatus(true, StatusID.CollectiveUnconscious_848)) return false;
if (MicroPrio && Player.HasStatus(true, StatusID.Macrocosmos)) return false;

if (AspectedHeliosPvE.CanUse(out act)) return true;
if (HeliosPvE.CanUse(out act)) return true;
Expand All @@ -132,6 +137,7 @@ protected override bool EmergencyAbility(IAction nextGCD, out IAction? act)
{
act = null;
if (BubbleProtec && Player.HasStatus(true, StatusID.CollectiveUnconscious_848)) return false;
if (MicroPrio && Player.HasStatus(true, StatusID.Macrocosmos)) return false;

if (base.EmergencyAbility(nextGCD, out act)) return true;

Expand Down Expand Up @@ -198,6 +204,7 @@ protected override bool HealSingleAbility(IAction nextGCD, out IAction? act)
{
act = null;
if (BubbleProtec && Player.HasStatus(true, StatusID.CollectiveUnconscious_848)) return false;
if (MicroPrio && Player.HasStatus(true, StatusID.Macrocosmos)) return false;

if (InCombat && TheArrowPvE.CanUse(out act)) return true;
if (InCombat && TheEwerPvE.CanUse(out act)) return true;
Expand All @@ -216,6 +223,7 @@ protected override bool HealAreaAbility(IAction nextGCD, out IAction? act)
if (BubbleProtec && Player.HasStatus(true, StatusID.CollectiveUnconscious_848)) return false;

if (MicrocosmosPvE.CanUse(out act)) return true;
if (MicroPrio && Player.HasStatus(true, StatusID.Macrocosmos)) return false;

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

Expand Down
8 changes: 4 additions & 4 deletions BasicRotations/Melee/VPR_Default.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ protected override bool EmergencyAbility(IAction nextGCD, out IAction? act)
if (UncoiledTwinbloodPvE.CanUse(out act)) return true;

//AOE Dread Combo
if (TwinfangThreshPvE.CanUse(out act)) return true;
if (TwinbloodThreshPvE.CanUse(out act)) return true;
if (TwinfangThreshPvE.CanUse(out act, skipAoeCheck: true)) return true;
if (TwinbloodThreshPvE.CanUse(out act, skipAoeCheck: true)) return true;

//Single Target Dread Combo
if (TwinfangBitePvE.CanUse(out act)) return true;
Expand Down Expand Up @@ -114,8 +114,8 @@ protected override bool GeneralGCD(out IAction? act)
}

////AOE Dread Combo
if (SwiftskinsDenPvE.CanUse(out act, skipComboCheck: true)) return true;
if (HuntersDenPvE.CanUse(out act, skipComboCheck: true)) return true;
if (SwiftskinsDenPvE.CanUse(out act, skipComboCheck: true, skipAoeCheck: true)) return true;
if (HuntersDenPvE.CanUse(out act, skipComboCheck: true, skipAoeCheck: true)) return true;

if (VicepitPvE.Cooldown.CurrentCharges == 1 && VicepitPvE.Cooldown.RecastTimeRemainOneCharge < 10)
{
Expand Down

0 comments on commit 6bef58a

Please sign in to comment.