Skip to content

Commit 7d17b03

Browse files
authored
Merge pull request #956 from FFXIV-CombatReborn/AnimationLockHitfix
Moved animationlock tweaks to Extra, clamped timer to minimum of 26 in calculations
2 parents 67cd10a + 8cc97ba commit 7d17b03

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

RotationSolver.Basic/Configuration/Configs.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ public const string
693693
/// Do NOT use with XivAlexander or NoClippy - this should automatically disable itself if they are detected, but double check first!
694694
/// </summary>
695695
[ConditionBool, UI("Remove extra lag-induced animation lock delay from instant casts (read tooltip!)",
696-
Description = "Do NOT use with XivAlexander or NoClippy - this should automatically disable itself if they are detected, but double check first!",
697-
Filter = BasicTimer)]
696+
Description = "Do NOT use with XivAlexander, BMR tweaks enabled, or NoClippy - this should automatically disable itself if they are detected, but double check first!",
697+
Filter = Extra)]
698698
private static readonly bool _removeAnimationLockDelay = false;
699699

700700
/// <summary>
@@ -705,7 +705,7 @@ public const string
705705
/// </summary>
706706
[UI("Animation lock max. simulated delay (read tooltip!)",
707707
Description = "Configures the maximum simulated delay in milliseconds when using animation lock removal - this is required and cannot be reduced to zero. Setting this to 20ms will enable triple-weaving when using autorotation. The minimum setting to remove triple-weaving is 26ms. The minimum of 20ms has been accepted by FFLogs and should not cause issues with your logs.",
708-
Parent = nameof(RemoveAnimationLockDelay), Filter = BasicTimer)]
708+
Parent = nameof(RemoveAnimationLockDelay), Filter = Extra)]
709709
[Range(26, 50, ConfigUnitType.None, 1f)]
710710
public int AnimationLockDelayMax2 { get; set; } = 26;
711711

@@ -715,7 +715,7 @@ public const string
715715
/// </summary>
716716
[ConditionBool, UI("Remove extra framerate-induced cooldown delay",
717717
Description = "Dynamically adjusts cooldown and animation locks to ensure queued actions resolve immediately regardless of framerate limitations",
718-
Filter = BasicTimer)]
718+
Filter = Extra)]
719719
private static readonly bool _removeCooldownDelay = false;
720720

721721
[JobConfig, UI("The HP for using Guard.",

RotationSolver.Basic/Tweaks/AnimationLockTweak.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public sealed unsafe class AnimationLockTweak
2020
{
2121
private float _lastReqInitialAnimLock;
2222
private uint _lastReqSequence = uint.MaxValue;
23-
24-
private static float DelayMax => Service.Config.AnimationLockDelayMax2 * 0.001f;
23+
24+
private static float DelayMax => Math.Max(Service.Config.AnimationLockDelayMax2, 26) * 0.001f;
2525
private static readonly float DelaySmoothing = 0.8f; // Exponential smoothing factor
2626

2727
/// <summary>

0 commit comments

Comments
 (0)