Skip to content

Commit

Permalink
disable bomb calculation for blackrock foundry since it's no longer v…
Browse files Browse the repository at this point in the history
…alid
  • Loading branch information
MysticalOS committed Dec 26, 2023
1 parent aa3e5ca commit 1dae0a2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions DBM-Raids-WoD/BlackrockFoundry/BlastFurnace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,18 @@ do
local regulatorCount = 0
--Show heat first
addLine(heatName, UnitPower("boss1", 10))--Heart of the mountain always boss1
--Show regulator progress second
for i = 2, 4 do--Boss order can be random. regulators being 3/4 not guaranteed. Had some pull 2/3, 3/4, etc. Must check all 2-4
if UnitExists("boss"..i) then
local cid = DBM:GetCIDFromGUID(UnitGUID("boss"..i))
if cid == 76808 then--Heat Regulator
regulatorCount = regulatorCount + 1
local bombsNeeded = mceil(UnitHealth("boss"..i)/100000)
addLine(L.Regulator:format(regulatorCount), L.bombNeeded:format(bombsNeeded))
if regulatorCount == 2 then break end
end
end
end
--Show regulator progress second (uses old health calculations, pre stat squish so values are wrong now
--for i = 2, 4 do--Boss order can be random. regulators being 3/4 not guaranteed. Had some pull 2/3, 3/4, etc. Must check all 2-4
-- if UnitExists("boss"..i) then
-- local cid = DBM:GetCIDFromGUID(UnitGUID("boss"..i))
-- if cid == 76808 then--Heat Regulator
-- regulatorCount = regulatorCount + 1
-- local bombsNeeded = mceil(UnitHealth("boss"..i)/100000)
-- addLine(L.Regulator:format(regulatorCount), L.bombNeeded:format(bombsNeeded))
-- if regulatorCount == 2 then break end
-- end
-- end
--end
return lines, sortedLines
end

Expand Down

0 comments on commit 1dae0a2

Please sign in to comment.