From 4b78749dab075df533306f1801241108ba8c3ab4 Mon Sep 17 00:00:00 2001 From: Ivaria <ivaria@vuhdo.io> Date: Sat, 13 Aug 2016 18:33:21 +0000 Subject: [PATCH] Fixed HoT clock start time rounding error --- VuhDoBarCustomizerHots.lua | 2 +- changelog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VuhDoBarCustomizerHots.lua b/VuhDoBarCustomizerHots.lua index 683c0b7..bf27cdb 100644 --- a/VuhDoBarCustomizerHots.lua +++ b/VuhDoBarCustomizerHots.lua @@ -253,7 +253,7 @@ local function VUHDO_customizeHotIcons(aButton, aHotName, aRest, aTimes, anIcon, end tTimer:SetText(tDuration); - tStarted = floor(10 * (GetTime() - aDuration + aRest + 0.5)) * 0.1; + tStarted = floor(10 * (GetTime() - aDuration + aRest) + 0.5) * 0.1; if tClock:GetAlpha() == 0 or (tClock:GetAttribute("started") or tStarted) ~= tStarted then tClock:SetAlpha(1); tClock:SetCooldown(tStarted, aDuration); diff --git a/changelog.txt b/changelog.txt index 3fc4069..0d291d6 100644 --- a/changelog.txt +++ b/changelog.txt @@ -15,6 +15,7 @@ Known issues: Bugfixes: -- Priest 'Purge the Wicked' can be directly assigned as a spell bind again +-- Fixed HoT clock start time rounding error Improvements: -- GitLab