diff --git a/RotationSolver.Basic/Rotations/CustomRotation_OtherInfo.cs b/RotationSolver.Basic/Rotations/CustomRotation_OtherInfo.cs index 86fa8a71e..b49622a4a 100644 --- a/RotationSolver.Basic/Rotations/CustomRotation_OtherInfo.cs +++ b/RotationSolver.Basic/Rotations/CustomRotation_OtherInfo.cs @@ -71,7 +71,6 @@ public abstract partial class CustomRotation protected static float PartyMembersAverHP => DataCenter.PartyMembersAverHP; #endregion - #region Target /// /// The player's target. diff --git a/RotationSolver/Updaters/MovingController.cs b/RotationSolver/Updaters/MovingController.cs index 782425346..d1591f3bb 100644 --- a/RotationSolver/Updaters/MovingController.cs +++ b/RotationSolver/Updaters/MovingController.cs @@ -32,7 +32,7 @@ private static bool MovingDetour(IntPtr ptr) if (Service.Conditions[ConditionFlag.OccupiedInEvent]) return movingHook.Original(ptr); - if (Service.Config.PoslockCasting && _posLocker) + if (Service.Config.PoslockCasting && _posLocker && DataCenter.InCombat) { //没有键盘取消 if (!Service.KeyState[ConfigurationHelper.Keys[Service.Config.PoslockModifier]]