Add option to Combat Log section for merging critical heals
This commit is contained in:
+14
-2
@@ -322,8 +322,7 @@
|
|||||||
[45284] = 188196, --shaman lightining bolt overloaded
|
[45284] = 188196, --shaman lightining bolt overloaded
|
||||||
|
|
||||||
[228361] = 228360, --shadow priest void erruption
|
[228361] = 228360, --shadow priest void erruption
|
||||||
[94472] = 81751, --disc priest attonement and crit. Crits use separate id.
|
|
||||||
[281469] = 270501, --disc priest contrition attonement and crit. Crits use separate id.
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -6036,6 +6035,19 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
|||||||
override_spellId[403257] = nil --Searing Smokey Stone
|
override_spellId[403257] = nil --Searing Smokey Stone
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if (Details.combat_log.merge_critical_heals) then
|
||||||
|
override_spellId[94472] = 81751, --disc priest attonement and crit. Crits use separate id.
|
||||||
|
override_spellId[281469] = 270501, --disc priest contrition attonement and crit. Crits use separate id.
|
||||||
|
override_spellId[388025] = 388024, --MW monk Ancient Teachings, heals from damage, crit and normal are separate.
|
||||||
|
override_spellId[389325] = 389328, --MW monk Awakened Faeline, ^
|
||||||
|
else
|
||||||
|
override_spellId[94472] = nil, --disc priest attonement and crit. Crits use separate id.
|
||||||
|
override_spellId[281469] = nil, --disc priest contrition attonement and crit. Crits use separate id.
|
||||||
|
override_spellId[388025] = nil, --MW monk Ancient Teachings, heals from damage, crit and normal are separate.
|
||||||
|
override_spellId[389325] = nil, --MW monk Awakened Faeline, ^
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
damage_cache = setmetatable({}, _detalhes.weaktable)
|
damage_cache = setmetatable({}, _detalhes.weaktable)
|
||||||
damage_cache_pets = setmetatable({}, _detalhes.weaktable)
|
damage_cache_pets = setmetatable({}, _detalhes.weaktable)
|
||||||
damage_cache_petsOwners = setmetatable({}, _detalhes.weaktable)
|
damage_cache_petsOwners = setmetatable({}, _detalhes.weaktable)
|
||||||
|
|||||||
@@ -7035,6 +7035,19 @@ do
|
|||||||
boxfirst = true,
|
boxfirst = true,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{--merge healing criticals
|
||||||
|
type = "toggle",
|
||||||
|
get = function() return Details.combat_log.merge_critical_heals end,
|
||||||
|
set = function(self, fixedparam, value)
|
||||||
|
Details.combat_log.merge_critical_heals = value
|
||||||
|
afterUpdate()
|
||||||
|
Details:ClearParserCache()
|
||||||
|
end,
|
||||||
|
name = "Merge Critical Heals",
|
||||||
|
desc = "Merges spells like Atonement and Awakened Faeline with their critical damage component.",
|
||||||
|
boxfirst = true,
|
||||||
|
},
|
||||||
|
|
||||||
{type = "blank"},
|
{type = "blank"},
|
||||||
{type = "label", get = function() return "Class Options:" end, text_template = subSectionTitleTextTemplate},
|
{type = "label", get = function() return "Class Options:" end, text_template = subSectionTitleTextTemplate},
|
||||||
|
|
||||||
|
|||||||
@@ -1149,6 +1149,7 @@ local default_player_data = {
|
|||||||
inverse_deathlog_overalldata = false,
|
inverse_deathlog_overalldata = false,
|
||||||
track_hunter_frenzy = false,
|
track_hunter_frenzy = false,
|
||||||
merge_gemstones_1007 = false,
|
merge_gemstones_1007 = false,
|
||||||
|
merge_critical_heals = false,
|
||||||
},
|
},
|
||||||
|
|
||||||
--this is used by the new data capture for charts
|
--this is used by the new data capture for charts
|
||||||
|
|||||||
Reference in New Issue
Block a user