git
/
wowui.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a08107
)
b00e4e3 - Add new mythic boss abilities
author
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Thu, 18 Jun 2020 14:59:54 +0000
committer
Aleksi Blinnikka <aleksi.blinnikka@iki.fi>
Thu, 18 Jun 2020 14:59:54 +0000
kehys/auras.lua
patch
|
blob
|
history
kehys/updater.lua
patch
|
blob
|
history
diff --git
a/kehys/auras.lua
b/kehys/auras.lua
index
c9e7158
..
f86034a
100644
(file)
--- a/
kehys/auras.lua
+++ b/
kehys/auras.lua
@@
-2,6
+2,8
@@
-- 2019 Aleksi Blinnikka
local _, addon = ...;
local CombatLogGetCurrentEventInfo = CombatLogGetCurrentEventInfo;
-- 2019 Aleksi Blinnikka
local _, addon = ...;
local CombatLogGetCurrentEventInfo = CombatLogGetCurrentEventInfo;
+local UnitAura = UnitAura;
+local UnitGUID = UnitGUID;
local guids = addon.FrameGuids;
local watchedAuras = {
local guids = addon.FrameGuids;
local watchedAuras = {
@@
-52,7
+54,6
@@
local watchedAuras = {
[287072] = {1, "heal"}, -- Liquid Gold (Opulence)
[284781] = {1, "heal"}, -- Grievous Axe (Rastakhan)
[290955] = {1, "heal"}, -- Grievous Axe (Rastakhan)
[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)
-- Crucible of Storms
[282566] = {1, "stacks"}, -- Promises of Power (Restless Cabal)
[282738] = {1, "alert"}, -- Embrace of the Void (Restless Cabal)
@@
-83,7
+84,9
@@
local watchedAuras = {
[313460] = {1, "alert"}, -- Nullification (Hivemind)
[313461] = {1, "heal"}, -- Corrosion (Hivemind)
[307359] = {1, "heal"}, -- Despair (Vexiona)
[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 playerGuid = nil;
diff --git
a/kehys/updater.lua
b/kehys/updater.lua
index
68015bb
..
347096c
100644
(file)
--- a/
kehys/updater.lua
+++ b/
kehys/updater.lua
@@
-23,6
+23,8
@@
local healcolor = addon.Colors.OverlayColorHeal;
local ignoredAuras = {
[315176] = true, -- Grasping Tendrils
local ignoredAuras = {
[315176] = true, -- Grasping Tendrils
+ [313759] = true, -- Cursed Blood (Il'gynoth)
+ [312486] = true, -- Recurring Nightmare (Il'gynoth)
};
local powerColors = {
};
local powerColors = {
@@
-140,6
+142,8
@@
function addon.FrameUpdate(frame)
frame.text:SetFormattedText("%.2fM", current / 1000000);
elseif current > 1000 then -- 1.0K
frame.text:SetFormattedText("%.1fK", current / 1000);
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
end
if not frame.text:IsShown() then frame.text:Show() end
end
@@
-225,6
+229,7
@@
function addon.FrameUpdate(frame)
frame.stacks = {};
frame.heal = {};
frame.buff1 = {};
frame.stacks = {};
frame.heal = {};
frame.buff1 = {};
+ frame.buff2 = {};
addon.SetAuras(frame.unit, frame.guid);
frame.rounds = 0;
end
addon.SetAuras(frame.unit, frame.guid);
frame.rounds = 0;
end