Mythic+ Clean Up: Removed deprecated option for "Overall Segment Boss Only"

This commit is contained in:
Tercio Jose
2023-03-10 19:47:45 -03:00
parent 8f36e88146
commit d0ccba9e03
3 changed files with 0 additions and 17 deletions
-10
View File
@@ -6936,16 +6936,6 @@ do
desc = "When the run is done, make an overall segment.", desc = "When the run is done, make an overall segment.",
}, },
{--overall only with bosses
type = "toggle",
get = function() return Details.mythic_plus.make_overall_boss_only end,
set = function(self, fixedparam, value)
Details.mythic_plus.make_overall_boss_only = value
end,
name = "Overall Segment Boss Only",
desc = "Only add boss segments on the overall.",
},
{--merge trash {--merge trash
type = "toggle", type = "toggle",
get = function() return Details.mythic_plus.merge_boss_trash end, get = function() return Details.mythic_plus.merge_boss_trash end,
-5
View File
@@ -76,11 +76,6 @@ function DetailsMythicPlusFrame.MergeSegmentsOnEnd()
local thisCombat = segmentHistory[i] local thisCombat = segmentHistory[i]
if (thisCombat and thisCombat.is_mythic_dungeon_run_id == Details.mythic_dungeon_id) then if (thisCombat and thisCombat.is_mythic_dungeon_run_id == Details.mythic_dungeon_id) then
local canAddThisSegment = true 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 if (canAddThisSegment) then
newCombat = newCombat + thisCombat newCombat = newCombat + thisCombat
-2
View File
@@ -1497,7 +1497,6 @@ local default_global_data = {
--merge_boss_with_trash = false, --this won't be used --merge_boss_with_trash = false, --this won't be used
boss_dedicated_segment = true, -- boss_dedicated_segment = true, --
make_overall_when_done = true, -- make_overall_when_done = true, --
make_overall_boss_only = false, --
show_damage_graphic = true, show_damage_graphic = true,
delay_to_show_graphic = 5, delay_to_show_graphic = 5,
last_mythicrun_chart = {}, last_mythicrun_chart = {},
@@ -1895,7 +1894,6 @@ function Details:ImportProfile (profileString, newProfileName, bImportAutoRunCod
mythicPlusSettings.delete_trash_after_merge = true mythicPlusSettings.delete_trash_after_merge = true
mythicPlusSettings.boss_dedicated_segment = true mythicPlusSettings.boss_dedicated_segment = true
mythicPlusSettings.make_overall_when_done = true mythicPlusSettings.make_overall_when_done = true
mythicPlusSettings.make_overall_boss_only = false
mythicPlusSettings.show_damage_graphic = true mythicPlusSettings.show_damage_graphic = true
mythicPlusSettings.delay_to_show_graphic = 5 mythicPlusSettings.delay_to_show_graphic = 5
mythicPlusSettings.last_mythicrun_chart = {} mythicPlusSettings.last_mythicrun_chart = {}