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 SMN base.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 23, 2023
1 parent 4c3b339 commit b9c8509
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions RotationSolver.Basic/Rotations/Basic/SMN_Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ protected static bool AttunmentTimeEndAfterGCD(uint gctCount = 0, float offset =
private static bool HasSummon => DataCenter.HasPet && SummonTimeEndAfterGCD();
#endregion

public override void DisplayStatus()
{
ImGui.Text("AttunmentTime: " + AttunmentTimerRemaining.ToString());
ImGui.Text("SummonTime: " + SummonTimerRemaining.ToString());
base.DisplayStatus();
}

#region Summon
public static IBaseAction SummonRuby { get; } = new BaseAction(ActionID.SummonRuby)
{
Expand Down Expand Up @@ -69,12 +76,12 @@ protected static bool AttunmentTimeEndAfterGCD(uint gctCount = 0, float offset =
#region Summon Actions
public static IBaseAction Gemshine { get; } = new BaseAction(ActionID.Gemshine)
{
ActionCheck = b => Attunement > 0,
ActionCheck = b => Attunement > 0 && !AttunmentTimeEndAfter(Gemshine.CastTime),
};

public static IBaseAction PreciousBrilliance { get; } = new BaseAction(ActionID.PreciousBrilliance)
{
ActionCheck = b => Attunement > 0,
ActionCheck = b => Attunement > 0 && !AttunmentTimeEndAfter(PreciousBrilliance.CastTime),
};

public static IBaseAction AetherCharge { get; } = new BaseAction(ActionID.AetherCharge)
Expand All @@ -84,7 +91,7 @@ protected static bool AttunmentTimeEndAfterGCD(uint gctCount = 0, float offset =

public static IBaseAction SummonBahamut { get; } = new BaseAction(ActionID.SummonBahamut)
{
ActionCheck = b => InCombat && HasSummon
ActionCheck = AetherCharge.ActionCheck
};

public static IBaseAction EnkindleBahamut { get; } = new BaseAction(ActionID.EnkindleBahamut)
Expand Down

0 comments on commit b9c8509

Please sign in to comment.