- 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:
+17
-1
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -677,6 +677,7 @@ DF.CrowdControlSpells = {
|
||||
[217832] = "DEMONHUNTER", --Imprison
|
||||
[200166] = "DEMONHUNTER", --Metamorphosis
|
||||
[207685] = "DEMONHUNTER", --Sigil of Misery
|
||||
[211881] = "DEMONHUNTER", -- Fel Eruption
|
||||
}
|
||||
|
||||
DF.SpecIds = {
|
||||
|
||||
Reference in New Issue
Block a user