Fixed an issue with the loot on the end of the mythic plus panel

This commit is contained in:
Tercio Jose
2024-07-31 18:53:54 -03:00
committed by andrew6180
parent 434b529cea
commit a65839529b
9 changed files with 54 additions and 14 deletions
+2 -2
View File
@@ -171,8 +171,8 @@ function mythicDungeonCharts:OnBossDefeated()
if (mythicLevel and mythicLevel > 0) then
if (mythicDungeonCharts.ChartTable and mythicDungeonCharts.ChartTable.Running and bossInfo) then
local copiedBossInfo = Details:GetFramework().table.copy({}, bossInfo)
table.insert(mythicDungeonCharts.ChartTable.BossDefeated, {time() - mythicDungeonCharts.ChartTable.StartTime, copiedBossInfo, currentCombat:GetCombatTime()})
local tCopiedBossInfo = Details:GetFramework().table.copy({}, bossInfo)
table.insert(mythicDungeonCharts.ChartTable.BossDefeated, {time() - mythicDungeonCharts.ChartTable.StartTime, tCopiedBossInfo, currentCombat:GetCombatTime()})
mythicDungeonCharts:Debug("Boss defeated, time saved", currentCombat:GetCombatTime())
else
if (mythicDungeonCharts.ChartTable and mythicDungeonCharts.ChartTable.EndTime ~= -1) then
+1 -1
View File
@@ -49,7 +49,7 @@ function DetailsMythicPlusFrame.BossDefeated(this_is_end_end, encounterID, encou
end
--local zoneName, instanceType, difficultyID, difficultyName, maxPlayers, dynamicDifficulty, isDynamic, instanceMapID, instanceGroupSize = GetInstanceInfo()
Details222.MythicPlus.OnBossDefeated(encounterID, encounterName)
Details222.MythicPlus.OnBossDefeated(encounterID, encounterName) --data capture
--increase the segment number for the mythic run
Details.MythicPlus.SegmentID = Details.MythicPlus.SegmentID + 1