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

Commit

Permalink
fix: make poslock only in combat.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jul 10, 2023
1 parent 28fa543 commit 8123770
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions RotationSolver.Basic/DataCenter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace RotationSolver.Basic;
internal static class DataCenter
{
internal static bool NoPoslock => Svc.Condition[ConditionFlag.OccupiedInEvent]
|| !InCombat
|| !Service.Config.PoslockCasting
//Key cancel.
|| Svc.KeyState[ConfigurationHelper.Keys[Service.Config.PoslockModifier]]
Expand Down

0 comments on commit 8123770

Please sign in to comment.