From 3c36848e352a4e8fb087355c0ed5741a647d58b7 Mon Sep 17 00:00:00 2001 From: Aleksi Blinnikka Date: Sat, 2 Mar 2019 22:12:56 +0200 Subject: [PATCH 1/1] Fix Chilling Touch and stack display --- kehys/auras.lua | 2 +- kehys/updater.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kehys/auras.lua b/kehys/auras.lua index 40f7446..5652f6a 100644 --- a/kehys/auras.lua +++ b/kehys/auras.lua @@ -31,7 +31,7 @@ local watchedAuras = { [285195] = {8, "stacks"}, -- Deathly Withering (Rastakhan) [286646] = {1, "heal"}, -- Gigavolt Charge (Mekkatorque) [287891] = {1, "stacks"}, -- Sheep Shrapnel (Mekkatorque) - [285212] = {10, "stacks"}, -- Chilling Touch (Jaina) + [287993] = {1, "stacks"}, -- Chilling Touch (Jaina) }; local auraEvents = {}; diff --git a/kehys/updater.lua b/kehys/updater.lua index 668f229..eed2eaf 100644 --- a/kehys/updater.lua +++ b/kehys/updater.lua @@ -127,7 +127,8 @@ function addon.FrameUpdate(frame) end -- aura stacks if next(frame.stacks) then - frame.stack:SetText(next(frame.stacks)); + local _, amount = next(frame.stacks); + frame.stack:SetText(amount); if not frame.stack:IsShown() then frame.stack:Show() end elseif frame.stack:IsShown() then frame.stack:Hide(); -- 2.39.5