- Changed the way mythic dungeons are handled internally.

- Added events: COMBAT_MYTHICDUNGEON_START, COMBAT_MYTHICDUNGEON_END, COMBAT_ENCOUNTER_END, COMBAT_ENCOUNTER_START.
- Added API: Details:GetCombatFromBreakdownWindow()
- Added wasted time in the segment tooltip for mythic dungeon overall and trash overall.
- Added Fel Eruption crowd control.
This commit is contained in:
Tercioo
2019-03-10 21:36:25 -03:00
parent 8f01d34392
commit 29f8cfbf75
12 changed files with 250 additions and 266 deletions
+17 -1
View File
@@ -1,5 +1,5 @@
local dversion = 141
local dversion = 143
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
@@ -358,6 +358,22 @@ function DF:CommaValue (value)
return left .. (num:reverse():gsub ('(%d%d%d)','%1,'):reverse()) .. right
end
function DF:GroupIterator (func, ...)
if (IsInRaid()) then
for i = 1, GetNumGroupMembers() do
DF:QuickDispatch (func, "raid" .. i, ...)
end
elseif (IsInGroup()) then
for i = 1, GetNumGroupMembers() - 1 do
DF:QuickDispatch (func, "party" .. i, ...)
end
else
DF:QuickDispatch (func, "player", ...)
end
end
function DF:IntegerToTimer (value)
return "" .. floor (value/60) .. ":" .. format ("%02.f", value%60)
end
+2 -1
View File
@@ -8978,6 +8978,7 @@ DF.TimeLineBlockFunctions = {
local timelineData = lineData.timeline
for i = 1, #timelineData do
local blockInfo = timelineData [i]
local time = blockInfo [1]
@@ -8986,7 +8987,7 @@ DF.TimeLineBlockFunctions = {
local text = blockInfo [4]
local icon = blockInfo [5]
local tooltip = blockInfo [6]
local xOffset = pixelPerSecond * time
local width = pixelPerSecond * length
+1
View File
@@ -677,6 +677,7 @@ DF.CrowdControlSpells = {
[217832] = "DEMONHUNTER", --Imprison
[200166] = "DEMONHUNTER", --Metamorphosis
[207685] = "DEMONHUNTER", --Sigil of Misery
[211881] = "DEMONHUNTER", -- Fel Eruption
}
DF.SpecIds = {