Skip to content

Commit

Permalink
apparently command-S isn't save in this app
Browse files Browse the repository at this point in the history
  • Loading branch information
MysticalOS committed Apr 13, 2024
1 parent c596868 commit 561e0d1
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion DBM-Raids-WoD/BlackrockFoundry/Darmac.lua
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ function mod:INSTANCE_ENCOUNTER_ENGAGE_UNIT()
for i = 1, 5 do
local unitID = "boss"..i
local unitGUID = UnitGUID(unitID)
if UnitExists(unitID) and not activeBossGUIDS[unitGUID] then
if unitGUID and UnitExists(unitID) and not activeBossGUIDS[unitGUID] then
activeBossGUIDS[unitGUID] = true
local cid = self:GetCIDFromGUID(unitGUID)
if cid == 76884 or cid == 76874 or cid == 76945 or cid == 76946 then
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-WoD/BlackrockFoundry/Gruul.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function mod:SPELL_CAST_START(args)
end
else
timerInfernoSliceCD:Start(nil, self.vb.sliceCount+1)
local countFormat = self.vb.sliceCount
local countFormat = tostring(self.vb.sliceCount)
if self.Options.MythicSoakBehavior == "ThreeGroup" then
if mythicSoakOrder3Group[self.vb.sliceCount] then
countFormat = self.vb.sliceCount.."-"..mythicSoakOrder3Group[self.vb.sliceCount]
Expand Down
8 changes: 4 additions & 4 deletions DBM-Raids-WoD/HellfireCitadel/Archimonde.lua
Original file line number Diff line number Diff line change
Expand Up @@ -970,11 +970,11 @@ function mod:SPELL_AURA_APPLIED(args)
else--red lines for non player lines
--Create Points
if self.Options.NamesWroughtHud then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(186123, "party", args.sourceName, 0.35, time, nil, nil, nil, 0.5, nil, false):Appear():SetLabel(args.sourceName, nil, nil, nil, nil, nil, 0.8, nil, -13, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(185014, "party", args.destName, 0.35, time, nil, nil, nil, 0.5, nil, false):Appear():SetLabel(args.destName, nil, nil, nil, nil, nil, 0.8, nil, -13, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(186123, "party", args.sourceName, 0.35, time, nil, nil, nil, 0.5):Appear():SetLabel(args.sourceName, nil, nil, nil, nil, nil, 0.8, nil, -13, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(185014, "party", args.destName, 0.35, time, nil, nil, nil, 0.5):Appear():SetLabel(args.destName, nil, nil, nil, nil, nil, 0.8, nil, -13, 8, nil)
else
DBM.HudMap:RegisterRangeMarkerOnPartyMember(186123, "party", args.sourceName, 0.35, time, nil, nil, nil, 0.5, nil, false):Appear()
DBM.HudMap:RegisterRangeMarkerOnPartyMember(185014, "party", args.destName, 0.35, time, nil, nil, nil, 0.5, nil, false):Appear()
DBM.HudMap:RegisterRangeMarkerOnPartyMember(186123, "party", args.sourceName, 0.35, time, nil, nil, nil, 0.5):Appear()
DBM.HudMap:RegisterRangeMarkerOnPartyMember(185014, "party", args.destName, 0.35, time, nil, nil, nil, 0.5):Appear()
end
--Create Line
if self.Options.ExtendWroughtHud3 then
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-WoD/HellfireCitadel/HellfireAssault.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ function mod:SPELL_AURA_APPLIED(args)
updateRangeFrame(self, true)
end
if self.Options.HudMapOnAxe then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(184369, "highlight", args.destName, 5, 7, 1, 1, 0, 0.5, nil, true, 1):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(184369, "highlight", args.destName, 5, 7, 1, 1, 0, 0.5):Pulse(0.5, 0.5)
end
elseif spellId == 180076 then
warnSiphon:Show(args.destName)
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-WoD/HellfireCitadel/IronReaver.lua
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function mod:SPELL_AURA_APPLIED(args)
end
end
if self.Options.HudMapOnArt then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(spellId, "highlight", args.destName, 5, 13, 1, 1, 0, 0.5, nil, true, 1):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(spellId, "highlight", args.destName, 5, 13, 1, 1, 0, 0.5):Pulse(0.5, 0.5)
end
updateRangeFrame(self)
elseif spellId == 182020 then
Expand Down
6 changes: 3 additions & 3 deletions DBM-Raids-WoD/HellfireCitadel/Iskar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ local function showChakram(self)
end
if ranged and melee and tank then
DBM:Debug("All Chakram found!", 2)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182178, "party", ranged, 0.65, 6, nil, nil, nil, 0.8, nil, false):Appear():SetLabel(ranged, nil, nil, nil, nil, nil, 0.8, nil, -15, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182178, "party", melee, 0.65, 6, nil, nil, nil, 0.8, nil, false):Appear():SetLabel(melee, nil, nil, nil, nil, nil, 0.8, nil, -15, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182178, "party", tank, 0.65, 6, nil, nil, nil, 0.8, nil, false):Appear():SetLabel(tank, nil, nil, nil, nil, nil, 0.8, nil, -15, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182178, "party", ranged, 0.65, 6, nil, nil, nil, 0.8):Appear():SetLabel(ranged, nil, nil, nil, nil, nil, 0.8, nil, -15, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182178, "party", melee, 0.65, 6, nil, nil, nil, 0.8):Appear():SetLabel(melee, nil, nil, nil, nil, nil, 0.8, nil, -15, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182178, "party", tank, 0.65, 6, nil, nil, nil, 0.8):Appear():SetLabel(tank, nil, nil, nil, nil, nil, 0.8, nil, -15, 8, nil)
if playerName == melee or playerName == ranged or playerName == tank then--Player in it, Yellow lines
DBM.HudMap:AddEdge(1, 1, 0, 0.5, 6, ranged, melee, nil, nil, nil, nil)
DBM.HudMap:AddEdge(1, 1, 0, 0.5, 6, melee, tank, nil, nil, nil, nil)
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-WoD/HellfireCitadel/Mannoroth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ function mod:SPELL_AURA_APPLIED(args)
end
end
if self.Options.HudMapOnGaze2 then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(spellId, "highlight", args.destName, 8, 8, nil, nil, nil, 0.5, nil, true):Appear():SetLabel(args.destName)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(spellId, "highlight", args.destName, 8, 8, nil, nil, nil, 0.5):Appear():SetLabel(args.destName)
end
elseif spellId == 181119 then
local amount = args.amount or 1
Expand Down
8 changes: 4 additions & 4 deletions DBM-Raids-WoD/HellfireCitadel/Socrethar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,16 @@ function mod:ChargeTarget(targetname, uId)
if self.Options.HudMapOnCharge then
local currentTank = self:GetCurrentTank(90296)
if currentTank then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182051, "party", targetname, 0.35, 4, nil, nil, nil, 0.5, nil, false):Appear():SetLabel(targetname, nil, nil, nil, nil, nil, 0.8, nil, -13, 8, nil)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182051, "party", targetname, 0.35, 4, nil, nil, nil, 0.5):Appear():SetLabel(targetname, nil, nil, nil, nil, nil, 0.8, nil, -13, 8, nil)
if targetname == UnitName("player") then
DBM.HudMap:AddEdge(1, 1, 0, 0.5, 4, currentTank, targetname, nil, nil, nil, nil, 125)
else
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182051, "party", UnitName("player"), 0.7, 4, nil, nil, nil, 1, nil, false):Appear()
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182051, "party", UnitName("player"), 0.7, 4, nil, nil, nil, 1):Appear()
DBM.HudMap:AddEdge(1, 0, 0, 0.5, 4, currentTank, targetname, nil, nil, nil, nil, 125)
end
else--Old school
DBM:Debug("Tank Detection Failure in HudMapOnCharge", 2)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182051, "highlight", targetname, 5, 4, 1, 0, 0, 0.5, nil, true, 2):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(182051, "highlight", targetname, 5, 4, 1, 0, 0, 0.5):Pulse(0.5, 0.5)
end
end
if self.Options.SetIconOnCharge then
Expand Down Expand Up @@ -383,7 +383,7 @@ function mod:SPELL_AURA_APPLIED(args)
warnVolatileFelOrb:Show(args.destName)
end
if self.Options.HudMapOnOrb then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(180221, "highlight", args.destName, 5, 20, 1, 1, 0, 0.5, nil, true, 1):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(180221, "highlight", args.destName, 5, 20, 1, 1, 0, 0.5):Pulse(0.5, 0.5)
end
elseif spellId == 190466 then
if args.sourceGUID == UnitGUID("player") then
Expand Down
4 changes: 2 additions & 2 deletions DBM-Raids-WoD/HellfireCitadel/Velhari.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function mod:AnnTarget(targetname, uId)
warnAnnihilationStrike:Show(self.vb.annihilationCount, targetname)
end
if self.Options.HudMapOnStrike then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(180260, "highlight", targetname, 3, 4, 1, 0, 0, 0.5, nil, true, 2):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(180260, "highlight", targetname, 3, 4, 1, 0, 0, 0.5):Pulse(0.5, 0.5)
end
end

Expand Down Expand Up @@ -257,7 +257,7 @@ function mod:SPELL_AURA_APPLIED(args)
specWarnEdictofCondemnationOther:ScheduleVoice(5, "gather")
end
if self.Options.HudMapEdict2 then
DBM.HudMap:RegisterRangeMarkerOnPartyMember(spellId, "highlight", args.destName, 3, 9, 1, 1, 0, 0.5, nil, true, 1):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(spellId, "highlight", args.destName, 3, 9, 1, 1, 0, 0.5):Pulse(0.5, 0.5)
end
elseif args:IsSpellID(180166, 185237) then--Casts
self.vb.touchofHarmCount = self.vb.touchofHarmCount + 1
Expand Down
10 changes: 5 additions & 5 deletions DBM-Raids-WoD/HellfireCitadel/Zakuun.lua
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ local function warnSeeds(self)
end
if self.Options.HudMapOnSeeds then
if i == 1 then--Yellow to match Star
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "star", targetName, 3, 13, 1, 1, 1, 0.5, nil, true):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "star", targetName, 3, 13, 1, 1, 1, 0.5):Pulse(0.5, 0.5)
elseif i == 2 then--Orange to match Circle
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "circle", targetName, 3, 13, 1, 1, 1, 0.5, nil, true):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "circle", targetName, 3, 13, 1, 1, 1, 0.5):Pulse(0.5, 0.5)
elseif i == 3 then--Purple to match Diamond
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "diamond", targetName, 3, 13, 1, 1, 1, 0.5, nil, true):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "diamond", targetName, 3, 13, 1, 1, 1, 0.5):Pulse(0.5, 0.5)
elseif i == 4 then--Green to match Triangle
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "triangle", targetName, 3, 13, 1, 1, 1, 0.5, nil, true):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "triangle", targetName, 3, 13, 1, 1, 1, 0.5):Pulse(0.5, 0.5)
else--White to match Moon
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "moon", targetName, 3, 13, 1, 1, 1, 0.5, nil, true):Pulse(0.5, 0.5)
DBM.HudMap:RegisterRangeMarkerOnPartyMember(181508, "moon", targetName, 3, 13, 1, 1, 1, 0.5):Pulse(0.5, 0.5)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion DBM-Raids-WoD/Highmaul/Koragh.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function mod:SPELL_AURA_APPLIED(args)
lastX, LastY = UnitPosition("player")
self:Schedule(7, returnPosition, self)
if self.Options.HudMapForFel then
DBM.HudMap:RegisterStaticMarkerOnPartyMember(spellId, "highlight", args.destName, 3, 12, 0, 1, 0, 0.5, nil, nil, 4):Pulse(0.5, 0.5)
DBM.HudMap:RegisterStaticMarkerOnPartyMember(spellId, "highlight", args.destName, 3, 12, 0, 1, 0, 0.5):Pulse(0.5, 0.5)
end
end
end
Expand Down

0 comments on commit 561e0d1

Please sign in to comment.