Skip to content

Commit 22cedae

Browse files
committed
toc cleanup
1 parent 1dfe443 commit 22cedae

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

DBM-Pandaria/DBM-Pandaria_Mainline.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 110207, 120000, 120001
1+
## Interface: 120001
22
## X-Min-Interface: 80000
33
## Category: DBM
44

DBM-Raids-MoP/DBM-Raids-MoP_Mainline.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 110207, 120000, 120001
1+
## Interface: 120001
22
## X-Min-Interface: 80000
33
## Category: DBM
44

DBM-Raids-MoP/ThroneofThunder/Primordius.lua

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,16 @@ local usedMarks, bigOozeGUIDS = {}, {}
5555
mod.vb.metabolicBoost = false
5656
mod.vb.bigOozeCount = 0
5757

58-
local function BigOoze()
59-
mod.vb.bigOozeCount = mod.vb.bigOozeCount + 1
60-
specWarnViscousHorror:Show(mod.vb.bigOozeCount)
58+
---@param self DBMMod
59+
local function BigOoze(self)
60+
self.vb.bigOozeCount = self.vb.bigOozeCount + 1
61+
specWarnViscousHorror:Show(self.vb.bigOozeCount)
6162
specWarnViscousHorror:Play("bigmob")
62-
timerViscousHorrorCD:Start(30, mod.vb.bigOozeCount+1)
63-
mod:Schedule(30, BigOoze)
63+
timerViscousHorrorCD:Start(30, self.vb.bigOozeCount+1)
64+
self:Schedule(30, BigOoze, self)
6465
--This is a means to try and do it without using lots of cpu on an already cpu bad fight. If it's not fast enough or doesn't work well (ie people with assist aren't doing this fast enough). may still have to scan all targets
65-
if DBM:GetRaidRank() > 0 and mod.Options.SetIconOnBigOoze then--Only register event if option is turned on, otherwise no waste cpu
66+
if DBM:GetRaidRank() > 0 and self.Options.SetIconOnBigOoze then--Only register event if option is turned on, otherwise no waste cpu
67+
--LuaLS has difficulty recognizing self is mod even with param above with the custom registers
6668
mod:RegisterShortTermEvents(
6769
"PLAYER_TARGET_CHANGED",
6870
"UPDATE_MOUSEOVER_UNIT"
@@ -121,7 +123,7 @@ function mod:OnCombatStart(delay)
121123
berserkTimer:Start(-delay)
122124
if self:IsHeroic() then
123125
timerViscousHorrorCD:Start(11.5-delay, 1)
124-
self:Schedule(11.5, BigOoze)
126+
self:Schedule(11.5, BigOoze, self)
125127
end
126128
end
127129

DBM-Scenario-MoP/DBM-Scenario-MoP_Mainline.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Interface: 110207, 120000, 120001
1+
## Interface: 120001
22
## X-Min-Interface: 80000
33
## Category: DBM
44

0 commit comments

Comments
 (0)