Need help with damage calculations

Hi! Can anyone clarify how increased damage applies to added damage of different types?
For example:
1)I have a weapon with +100 melee damage as a base quality, (AD1)
2) I have an affix with +50 melee physical damage (AD2)
3) I have a skill with tags “Melee”, ''physical" and ''strength" with base damage 2 and damage effectiveness 100 (DE)
4) Also i have melee increased damage (100%, ID1), increased physical damage (50%, ID2), strength 20 (Attr)
As i understood from reading guides, the formula is like:

(2+(AD1+AD2) x DE/100) x (1+ ID1/100 + ID2/100 + Attr x ScaleValue/100) x More Damage.

But what if I add an affix with + 20 Melee Cold Damage (AD3) and affix with increased cold damage 40% (ID3) and i do not use any damage conversions. I can not choose between two variants:

  1. Simply add AD3 to the sum of added damages:
(2+(AD1+AD2+AD3) x DE/100) x (1+ ID1/100 + ID2/100 + Attr x ScaleValue/100) x More Damage.

but cold damage would be affected by increased physical damage in that case.
2) As melee damage applies only to the damage of type the skill scales from (to physical damage),
so added cold damage affected by strength (as attribute increases the damage of a skill )and increased cold damage only, so the equation is like:

(
(2+(AD1+AD2) x DE/100) x (1+ ID1/100 + ID2/100 + Attr x ScaleValue/100) ## physical part
+  AD3 x DE/100 x (1 + Attr x ScaleValue/100 + ID3/100)  ## cold part
  
) x More Damage.

What variant is correct or maybe no one?
Thank you in advance!

1 Like

LE applies the % increased modifiers in total by element (cold, phys, void, etc) separately to the relevant flat damage. So your flat cold damage would be multiplied by the total of the % increased modifiers that affect it (% cold, % melee & any attributes in this case).

So the second one is correct. Also, the more multipluers are applied separately & by element as well, so if hhe skill had a % more phys damage modifier, that wouldn’t affect the cold part.

This means none are correct, as the version 2) is missing ID1, the % inc melee dmg part in the cold part.

So I’ll use your formula and for example two % more dmg sources (new stuff in red):

(
(2+(AD1+AD2) x DE/100) x (1 + ID1/100 + ID2/100 + Attr x ScaleValue/100) ## physical part
+  AD3 x DE/100 x (1 + 'ID1/100' + Attr x ScaleValue/100 + ID3/100)  ## cold part
  
) x '(1 + MD1/100) x (1 + MD2/100)'
2 Likes

Thank you very much for clarification!