3c36848 - Fix Chilling Touch and stack display
authorAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Sat, 2 Mar 2019 20:12:56 +0000
committerAleksi Blinnikka <aleksi.blinnikka@gmail.com>
Sat, 2 Mar 2019 20:12:56 +0000
kehys/auras.lua
kehys/updater.lua

index 40f7446..5652f6a 100644 (file)
@@ -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 = {};
index 668f229..eed2eaf 100644 (file)
@@ -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();