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

Commit

Permalink
fix: fixed with DRG jobGauge.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 21, 2023
1 parent 953eb4c commit 9f3b4df
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions RotationSolver.Basic/Rotations/Basic/DRG_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ public abstract class DRG_Base : CustomRotation
{
private static DRGGauge JobGauge => Service.JobGauges.Get<DRGGauge>();

private static float LOTDTime => JobGauge.LOTDTimer / 1000f;


protected static bool SongEndAfter(float time) => EndAfter(LOTDTime, time);

protected static bool SongEndAfterGCD(uint gctCount = 0, float offset = 0)
=> EndAfterGCD(LOTDTime, gctCount, offset);

protected static byte EyeCount => JobGauge.EyeCount;

/// <summary>
/// FocusCount
/// </summary>
protected static byte FocusCount => JobGauge.FirstmindsFocusCount;

public override MedicineType MedicineType => MedicineType.Strength;

public sealed override ClassJobID[] JobIDs => new ClassJobID[] { ClassJobID.Dragoon, ClassJobID.Lancer };
Expand Down

0 comments on commit 9f3b4df

Please sign in to comment.