Skip to content

Commit

Permalink
removed twins and deathbringer infoframes
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Nov 10, 2023
1 parent 3bf6f50 commit 08f171a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
9 changes: 1 addition & 8 deletions DBM-Raids-WoTLK/Coliseum/Twins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mod:RegisterCombat("combat")

mod:RegisterEventsInCombat(
"SPELL_CAST_START 66046 66058 65875 65876",
"SPELL_AURA_APPLIED 65724 65748 65950 66001 65879 65916 65874 65858",
"SPELL_AURA_APPLIED 65724 65748 65950 66001 65879 65916",
"SPELL_AURA_REMOVED 65874 65858 65950 66001",
"SPELL_INTERRUPT"
)
Expand All @@ -41,7 +41,6 @@ local timerAchieve = mod:NewAchievementTimer(180, 3815)
mod:AddBoolOption("SpecialWarnOnDebuff", false, "announce")
mod:AddSetIconOption("SetIconOnLightTarget", 65950, false, 0, {1, 2, 3, 4})
mod:AddSetIconOption("SetIconOnDarkTarget", 66001, false, 0, {1, 2, 3, 4})
mod:AddInfoFrameOption(65874, true)

local lightEssence, darkEssence = DBM:GetSpellInfo(65686), DBM:GetSpellInfo(65684)
local debuffTargets = {}
Expand Down Expand Up @@ -167,9 +166,6 @@ do
self:Schedule(0.75, warnDebuff, self, args.spellId)
elseif args:IsSpellID(65879, 65916) then
self:Schedule(0.1, showPowerWarning, self, args:GetDestCreatureID())
elseif args:IsSpellID(65874, 65858) and self.Options.InfoFrame then
DBM.InfoFrame:SetHeader(args.spellName)
DBM.InfoFrame:Show(2, "enemyabsorb", nil, shieldHealth[(DBM:GetCurrentInstanceDifficulty())])--UnitGetTotalAbsorbs()
end
end
end
Expand All @@ -178,9 +174,6 @@ function mod:SPELL_AURA_REMOVED(args)
if args:IsSpellID(65874, 65858) then
specWarnKickNow:Show()
specWarnKickNow:Play("kickcast")
if self.Options.InfoFrame then
DBM.InfoFrame:Hide()
end
elseif args.spellId == 65950 then
timerLightTouch:Stop(args.destName)
if self.Options.SetIconOnLightTarget then
Expand Down
8 changes: 0 additions & 8 deletions DBM-Raids-WoTLK/Icecrown/TheLowerSpire/Deathbringer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ local enrageTimer = mod:NewBerserkTimer(480)
mod:AddRangeFrameOption(12, 72378, "Ranged")
mod:AddSetIconOption("BeastIcons", 72173, true, 5, {8, 7, 6, 5, 4})
mod:AddSetIconOption("BoilingBloodIcons", 72385, false, 0, {1, 2, 3})
mod:AddInfoFrameOption(72370, false)--Off by default, since you can literally just watch the bosses power bar

mod.vb.warned_preFrenzy = false
mod.vb.boilingBloodIcon = 1
Expand Down Expand Up @@ -81,19 +80,12 @@ function mod:OnCombatStart(delay)
if self.Options.RangeFrame then
DBM.RangeCheck:Show(12)
end
if self.Options.InfoFrame then
DBM.InfoFrame:SetHeader(spellName)
DBM.InfoFrame:Show(1, "enemypower", 2)
end
end

function mod:OnCombatEnd()
if self.Options.RangeFrame then
DBM.RangeCheck:Hide()
end
if self.Options.InfoFrame then
DBM.InfoFrame:Hide()
end
end

function mod:SPELL_CAST_START(args)
Expand Down

0 comments on commit 08f171a

Please sign in to comment.