Skip to content

Commit 00d92f6

Browse files
committed
Enabled raid debuffs for MoP Classic (CF issue #1347)
Enabled heal absorbs module for MoP Classic. Changed some function names in border glow indicator.
1 parent 9c783d4 commit 00d92f6

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.pkgmeta-mists

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ externals:
2323
ignore:
2424
- GridDefaultsRetail.lua
2525
- modules/StatusVehicle.lua
26-
- modules/StatusHealAbsorbs.lua
2726
- modules/StatusSummon.lua
2827
- modules/StatusStagger.lua
2928
- RaidDebuffsOptions/RaidDebuffsWoD.lua

RaidDebuffsOptions/RaidDebuffsMoP.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if Grid2.isClassic then return end
1+
if Grid2.versionCli<50000 then return end
22

33
local RDDB = Grid2Options:GetRaidDebuffsTable()
44
RDDB["Mists of Pandaria"] = {

modules/IndicatorBorderGlow.lua

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ local Grid2 = Grid2
66

77
local colorTable = {}
88

9-
local function BorderGlow_Create(self, parent)
9+
local function BorderGlow_CreateFilter(self, parent)
1010
parent[self.name] = parent
1111
end
1212

13-
local function BorderGlow_GetFrame(self, parent)
14-
return parent
15-
end
16-
1713
local function BorderGlow_GetFrameFilter(self, parent)
1814
return parent[self.name]
1915
end
2016

17+
local function BorderGlow_GetFrame(self, parent)
18+
return parent
19+
end
20+
2121
local function BorderGlow_OnUpdate(self, parent, unit, status)
2222
if status then
2323
local color = self.color
@@ -56,7 +56,7 @@ local function BorderGlow_UpdateDB(self)
5656
self.particlesScale = dbx.particlesScale or 1
5757
self.GlowStop = (self.effect==1 and LCG.PixelGlow_Stop) or (self.effect==2 and LCG.AutoCastGlow_Stop) or LCG.ButtonGlow_Stop
5858
if dbx.load then
59-
self.Create = BorderGlow_Create
59+
self.Create = BorderGlow_CreateFilter
6060
self.GetFrame = BorderGlow_GetFrameFilter
6161
self.Destroy = BorderGlow_Disable
6262
else
@@ -66,7 +66,6 @@ local function BorderGlow_UpdateDB(self)
6666
end
6767
end
6868

69-
7069
local function Create(indicatorKey, dbx)
7170
local indicator = Grid2.indicatorPrototype:new(indicatorKey)
7271
indicator.dbx = dbx

0 commit comments

Comments
 (0)