-- 2019 Aleksi Blinnikka
local _, addon = ...;
local CombatLogGetCurrentEventInfo = CombatLogGetCurrentEventInfo;
+local UnitAura = UnitAura;
+local UnitGUID = UnitGUID;
local guids = addon.FrameGuids;
local watchedAuras = {
[287072] = {1, "heal"}, -- Liquid Gold (Opulence)
[284781] = {1, "heal"}, -- Grievous Axe (Rastakhan)
[290955] = {1, "heal"}, -- Grievous Axe (Rastakhan)
- --[284663] = {1, "alert"}, -- Bwonsamdi's Wrath (Conclave)
-- Crucible of Storms
[282566] = {1, "stacks"}, -- Promises of Power (Restless Cabal)
[282738] = {1, "alert"}, -- Embrace of the Void (Restless Cabal)
[313460] = {1, "alert"}, -- Nullification (Hivemind)
[313461] = {1, "heal"}, -- Corrosion (Hivemind)
[307359] = {1, "heal"}, -- Despair (Vexiona)
- [316065] = {1, "alert"}, -- Corrupted Existence (Ra'den)
+ [313077] = {1, "heal"}, -- Unleashed Nightmare (Ra-den)
+ [316065] = {1, "alert"}, -- Corrupted Existence (Ra-den)
+ [313364] = {1, "heal"}, -- Mental Decay (Carapace of N'zoth)
};
local playerGuid = nil;
local ignoredAuras = {
[315176] = true, -- Grasping Tendrils
+ [313759] = true, -- Cursed Blood (Il'gynoth)
+ [312486] = true, -- Recurring Nightmare (Il'gynoth)
};
local powerColors = {
frame.text:SetFormattedText("%.2fM", current / 1000000);
elseif current > 1000 then -- 1.0K
frame.text:SetFormattedText("%.1fK", current / 1000);
+ else
+ frame.text:SetFormattedText("%i", current);
end
if not frame.text:IsShown() then frame.text:Show() end
end
frame.stacks = {};
frame.heal = {};
frame.buff1 = {};
+ frame.buff2 = {};
addon.SetAuras(frame.unit, frame.guid);
frame.rounds = 0;
end