Re-add Overall Segment Boss Only M+ option

Reverts commit d0ccba9
This commit is contained in:
Flamanis
2023-04-24 15:46:18 -05:00
parent 00d8c669ef
commit cea769a620
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -94,6 +94,11 @@ function DetailsMythicPlusFrame.MergeSegmentsOnEnd()
local thisCombat = segmentHistory[i]
if (thisCombat and thisCombat.is_mythic_dungeon_run_id == Details.mythic_dungeon_id) then
local canAddThisSegment = true
if (_detalhes.mythic_plus.make_overall_boss_only) then
if (not thisCombat.is_boss) then
canAddThisSegment = false
end
end
if (canAddThisSegment) then
newCombat = newCombat + thisCombat
+2
View File
@@ -1505,6 +1505,7 @@ local default_global_data = {
merge_boss_trash = true,
boss_dedicated_segment = true,
make_overall_when_done = true,
make_overall_boss_only = false,
show_damage_graphic = true,
reverse_death_log = false,
@@ -1901,6 +1902,7 @@ function Details:ImportProfile (profileString, newProfileName, bImportAutoRunCod
mythicPlusSettings.merge_boss_trash = true
mythicPlusSettings.boss_dedicated_segment = true
mythicPlusSettings.make_overall_when_done = true
mythicPlusSettings.make_overall_boss_only = false
mythicPlusSettings.show_damage_graphic = true
mythicPlusSettings.reverse_death_log = false
mythicPlusSettings.delay_to_show_graphic = 10