Merge pull request #484 from Flamanis/Merge-Attonement-Crits

Merge attonement with crit, and contrition with crit.
This commit is contained in:
Tercio Jose
2023-03-29 10:02:42 -03:00
committed by GitHub
3 changed files with 28 additions and 0 deletions
+14
View File
@@ -322,6 +322,7 @@
[45284] = 188196, --shaman lightining bolt overloaded
[228361] = 228360, --shadow priest void erruption
}
end
@@ -6034,6 +6035,19 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
override_spellId[403257] = nil --Searing Smokey Stone
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_pets = setmetatable({}, _detalhes.weaktable)
damage_cache_petsOwners = setmetatable({}, _detalhes.weaktable)
+13
View File
@@ -7035,6 +7035,19 @@ do
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 = "label", get = function() return "Class Options:" end, text_template = subSectionTitleTextTemplate},
+1
View File
@@ -1149,6 +1149,7 @@ local default_player_data = {
inverse_deathlog_overalldata = false,
track_hunter_frenzy = false,
merge_gemstones_1007 = false,
merge_critical_heals = false,
},
--this is used by the new data capture for charts