diff --git a/Modules/Calcs.lua b/Modules/Calcs.lua index a178eb11..4411fc4b 100644 --- a/Modules/Calcs.lua +++ b/Modules/Calcs.lua @@ -2011,6 +2011,15 @@ function calcs.buildOutput(build, input, output, mode) output["total_"..damageType] = 0 end if damageType ~= "physical" then + if damageType ~= "chaos" then + for _, domain in pairs({"spec_","gear_"}) do + local dmgResist = output[domain..damageType.."Resist"] + local elemResist = output[domain.."elementalResist"] + if dmgResist or elemResist then + output[domain..damageType.."Resist"] = (dmgResist or 0) + (elemResist or 0) + end + end + end local actual = output["total_"..damageType.."Resist"] local over = output["total_"..damageType.."ResistOverCap"] if over > 0 then diff --git a/manifest.xml b/manifest.xml index a82a0da0..3ff17b78 100644 --- a/manifest.xml +++ b/manifest.xml @@ -39,7 +39,7 @@ - +