The formula for calculating physical damage received is as follow:

Damage Received = Damage dealt by enemy * 120/(120 * Physical Defense)

Lets use some symbols.

Let y = Damage Received

x = Physical Defense

And let damage dealt by enemy = 100.

Therefore, the above equation becomes**y = 100 * 120/(120+x)**

Below, we have the graph of the above equation and some sample values of x and y in the table

From the table above we see that at x=50, ie. defense 50 we will receive 70.5 damage if enemy does 100 damage. So we receive only around 70% of the total damage dealt when our physical defense is 50

At x=120, ie defense 120, we receive exactly half (50%) of the damage dealt.

We can see here that increasing x gives us diminishing returns

So as you have more armor, buying even more armor results in lesser returns.

## Finding the rate of change (derivative) of the equation

We are interested to see how damage received (y) changes as we increase armor (x)

Derivatives will give us that information

Our equation is :

y = 100 * 120/(120+x)

By using quotient rule we find its derivative which is

y’ = -100*120/(120+x)^{2}

The -ve sign indicates that y (damage) decreases when x (armor) increases

For simplicity let us just write the eq without the -ve sign**y’ = 100*120/(120+x) ^{2} **

The above equation tells us how y changes with respect to x.

The table of sample values and graph of the equation y’ = 100*120/(120+x)^{2}** ** is below

From the table, we see that the rate of change of y at x=50 is 0.41 ie.,

at x (physical defense) = 50 each unit increase in x will give us 0.41 less damage (when 100 damage is dealt) . And at 120 physical defense each unit increase in physical defense will give us only 0.20 less dmg.

Thus we can easily see that at 120 physical defense buying more armor is half as efficient as buying armor at 50. And at 200 physical defense buying more armor is around quarter less efficient as buying armor at 50

The derivative gives us a clear picture how increasing physical defense/armor has diminishing returns

Graphs drawn using https://www.desmos.com/calculator

Gazimagomed says

Dear Sir Vihutuo thank you very much, I am very grateful to you. I apologize for my English. I’m from Russia studying for a bachelor’s degree in accounting, I tried to make a formula myself, but nothing came out, I’m very interested in what method you found the formula, I didn’t find anything on the Russian Internet, and I didn’t even find the formula there, I really ask you to explain to me the method of finding the formula. With all due respect to you, Geraev Gazimagomed.

Robert Axellot says

Very intriguing! Ive been searching for this exact formula for hours. Thank you for taking the time to calculate and procuring the formula. Much appreciated!

Rafi says

Does true damage and magic damage can be dealt together by a damage hero? Eg zelong?

boostaro says

Thanks for thr great article!