Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Akechi-kun committed Oct 20, 2024
1 parent 1d7fa55 commit ef147bb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions BossMod/Autorotation/akechi/AkechiDRG.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using FFXIVClientStructs.FFXIV.Client.Game.Gauge;
using static BossMod.Autorotation.Legacy.LegacyDRG;

namespace BossMod.Autorotation.akechi;
//Contribution by Akechi
Expand All @@ -9,6 +8,7 @@ public sealed class AkechiDRG(RotationModuleManager manager, Actor player) : Rot
{
#region Enums: Abilities / Strategies

//Which abilities/strategies we're tracking
public enum Track
{
AOE, //Area of Effect actions
Expand Down Expand Up @@ -115,6 +115,7 @@ public enum PiercingTalonStrategy
Forbid //Forbid the use of Piercing Talon
}

//True North strategy
public enum TrueNorthStrategy
{
Automatic, //Late-Weave
Expand All @@ -125,7 +126,7 @@ public enum TrueNorthStrategy
Delay //Delay
}

//general offensive strategies
//Offensive strategies
public enum OffensiveStrategy
{
Automatic, //Automatically use offensive abilities
Expand All @@ -135,6 +136,7 @@ public enum OffensiveStrategy

#endregion

//Module Definitions
public static RotationModuleDefinition Definition()
{
//Module title & signature
Expand Down Expand Up @@ -1002,6 +1004,8 @@ private void QueueOGCD(DRG.AID aid, Actor? target, OGCDPriority prio, float base
_ => false
};

//Determines when to use True North
//TODO: reconsider this method, it's jank as fuck but it works
private bool ShouldUseTrueNorth(TrueNorthStrategy strategy, Actor? target) => strategy switch
{
TrueNorthStrategy.Automatic =>
Expand Down

0 comments on commit ef147bb

Please sign in to comment.