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

Commit

Permalink
fix: add condition for all rotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed May 24, 2023
1 parent 427ba70 commit e1a1c04
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions RotationSolver.Basic/Rotations/CustomRotation_OtherInfo.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Dalamud;
using Dalamud.Game.ClientState.Conditions;
using Dalamud.Game.ClientState.Objects.SubKinds;
using ECommons.DalamudServices;

Expand Down Expand Up @@ -45,6 +46,11 @@ public abstract partial class CustomRotation
/// </summary>
protected static uint CurrentMp => DataCenter.CurrentMp;

/// <summary>
/// Condition.
/// </summary>
protected static Condition Condition => Svc.Condition;

#endregion

#region Friends
Expand Down

0 comments on commit e1a1c04

Please sign in to comment.