diff --git a/TickTracker/Utilities.cs b/TickTracker/Utilities.cs index c7e1033..3c3435e 100644 --- a/TickTracker/Utilities.cs +++ b/TickTracker/Utilities.cs @@ -19,7 +19,7 @@ public partial class Utilities /// /// A set of words that indicate regeneration /// - public static readonly IEnumerable RegenKeywords = new string[] + public static readonly IEnumerable RegenKeywords = new[] { "regenerating", "restoring", @@ -30,7 +30,7 @@ public partial class Utilities /// /// A set of words that indicate an effect over time /// - public static readonly IEnumerable TimeKeywords = new string[] + public static readonly IEnumerable TimeKeywords = new[] { "gradually", "over time", @@ -39,7 +39,7 @@ public partial class Utilities /// /// A set of words that indicate health /// - public static readonly IEnumerable HealthKeywords = new string[] + public static readonly IEnumerable HealthKeywords = new[] { "hp", "health", @@ -48,7 +48,7 @@ public partial class Utilities /// /// A set of words that indicate mana /// - public static readonly IEnumerable ManaKeywords = new string[] + public static readonly IEnumerable ManaKeywords = new[] { "mp", "mana", @@ -57,7 +57,7 @@ public partial class Utilities /// /// A set of words that indicate the halt of regen /// - public static readonly IEnumerable RegenNullKeywords = new string[] + public static readonly IEnumerable RegenNullKeywords = new[] { "null", "nullified", diff --git a/TickTracker/Windows/BarWindowBase.cs b/TickTracker/Windows/BarWindowBase.cs index a157c3c..6872ed6 100644 --- a/TickTracker/Windows/BarWindowBase.cs +++ b/TickTracker/Windows/BarWindowBase.cs @@ -19,11 +19,11 @@ public abstract class BarWindowBase : Window ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoNav | ImGuiWindowFlags.NoInputs; - public bool RegenHalted { get; set; } = false; - public bool FastTick { get; set; } = false; + public bool FastRegenSwitch { get; set; } + public bool RegenHalted { get; set; } + public bool FastTick { get; set; } public bool CanUpdate { get; set; } = true; public bool DelayedUpdate { get; set; } = true; - public bool FastRegenSwitch { get; set; } = false; public double LastTick { get; set; } = 1; public double PreviousProgress { get; set; } = -1; public static readonly float ActorTickInterval = 3, FastTickInterval = 1.5f;