diff --git a/RotationSolver.Basic/Actions/BaseAction.cs b/RotationSolver.Basic/Actions/BaseAction.cs index c99e09ca1..98414310a 100644 --- a/RotationSolver.Basic/Actions/BaseAction.cs +++ b/RotationSolver.Basic/Actions/BaseAction.cs @@ -1,5 +1,4 @@ using ECommons.DalamudServices; -using ECommons.GameFunctions; using ECommons.GameHelpers; using FFXIVClientStructs.FFXIV.Client.Game; using Action = Lumina.Excel.GeneratedSheets.Action; @@ -157,20 +156,10 @@ public bool CanUse(out IAction act, bool skipStatusProvideCheck = false, bool sk { Target = PreviewTarget.Value; } - if (!CanUseActionOnTarget(PreviewTarget.Value)) return false; return true; } - private unsafe bool CanUseActionOnTarget(TargetResult value) - { - var target = value.Target; - if (target == null) return false; - - var canUseOnTarget = ActionManager.CanUseActionOnTarget(AdjustedID, target.GameObject()); - return canUseOnTarget; - } - /// public bool CanUse(out IAction act, CanUseOption option, byte gcdCountForAbility = 0) {