From bc9b86dd89ba0d9b16f29563bb7c2c75bb39b0d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <1123993881@qq.com> Date: Sat, 22 Apr 2023 19:25:43 +0800 Subject: [PATCH] fix: IgnoreClippingCheck on ActionPanel. --- RotationSolver/UI/ImGuiHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RotationSolver/UI/ImGuiHelper.cs b/RotationSolver/UI/ImGuiHelper.cs index 7390c56ea..d33a12520 100644 --- a/RotationSolver/UI/ImGuiHelper.cs +++ b/RotationSolver/UI/ImGuiHelper.cs @@ -617,7 +617,7 @@ private unsafe static void Display(this IBaseAction action, bool IsActive) => ac ImGui.Text("Recast One: " + action.RecastTimeOneCharge.ToString()); ImGui.Text("Recast Elapsed: " + action.RecastTimeElapsed.ToString()); - var option = CanUseOption.IgnoreTarget; + var option = CanUseOption.IgnoreTarget | CanUseOption.IgnoreClippingCheck; ImGui.Text($"Can Use: {action.CanUse(out _, option)} "); ImGui.Text("Must Use:" + action.CanUse(out _, option | CanUseOption.MustUse).ToString()); ImGui.Text("Empty Use:" + action.CanUse(out _, option | CanUseOption.EmptyOrSkipCombo).ToString());