Assume T is base damage (the math for swords shields and theta)

Defense DeBuff is D

Attack Buf is A

Element Defense Debuff is E

Elemental Attack buff is B

So in calculation

S is strength of color (1,2,0.5) depending on color on color

Is the multiplier for tile damage =

T x (1+A) x (1/(1-D)) x (1/(1-E)) x (1+B) x S

-or-

T x (1+A+B) x (1/1-(D+E)) x S

One ask…please Consider your response in the format of the formula here…and specifically Provide the formula using these parameters? I have read too many English versions and they are conflicting.