From b1540c4b4cd5ce30926ba4f01f88b9e8e5ae7168 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Sun, 11 Jan 2026 00:09:08 +0100 Subject: [PATCH] tick.time adjustments tick.time adjustments --- modules/castbar.lua | 2 +- modules/nameplates.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/castbar.lua b/modules/castbar.lua index 1030c01c..8f1e5950 100644 --- a/modules/castbar.lua +++ b/modules/castbar.lua @@ -70,7 +70,7 @@ pfUI:RegisterModule("castbar", "vanilla", function () cb:SetScript("OnUpdate", function() -- Throttle for performance if (this.tick or 0) > GetTime() then return end - this.tick = GetTime() + 0.025 -- ~60 FPS for smooth castbar + this.tick = GetTime() + 0.020 -- ~60 FPS for smooth castbar if this.drag and this.drag:IsShown() then this:SetAlpha(1) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 59cc2b0d..63de5235 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -984,7 +984,7 @@ pfUI:RegisterModule("nameplates", "vanilla", function () -- Nutze Alpha >= 0.99 statt == 1 um Flackern durch Fließkomma-Ungenauigkeiten zu verhindern -- (Nicht-Targets werden explizit auf 0.95 gesetzt, Targets auf 1.0) local target = UnitExists("target") and frame:GetAlpha() >= 0.99 or nil - local throttle = target and 0.025 or 0.025 + local throttle = target and 0.020 or 0.020 if (nameplate.lasttick or 0) + throttle > now then return end nameplate.lasttick = now