Damage Mitigation: Difference between revisions

From AoP Wiki
(Created page with "Damage Calculation is sadly a very complicated topic in the game. The file for calculating damage is over thousands of lines long, so here, I will explain the mere basics of which values do what in terms of damage calculations. Apart from Armor Class and Cover lowering our chance to be hit, we have ways to decrease the damage once we actually get hit. For this, we have both Damage Resistances and Damage Thresholds. Both accomplish the same goal of lowering the...")
 
No edit summary
Line 9: Line 9:


Let's say, Zmeja is hit standing in Fire. One tick does 80 Fire damage. How much damage would Zmeja receive, if he has 35% Fire Resistance?
Let's say, Zmeja is hit standing in Fire. One tick does 80 Fire damage. How much damage would Zmeja receive, if he has 35% Fire Resistance?
<math>80 * (\frac{100 - 35}{100}) = 52</math>
<math>80 * (\frac{100 - 35}{100}) = 52</math>


Line 19: Line 20:


<math>6 * (25 - 11) = 84</math>
<math>6 * (25 - 11) = 84</math>
As every bullet now does only 14 damage, and 6 bullets hit Zmeja, he now gets 84 damage. In reality, every bullet would have its own damage calculated, and there would also be Damage Resistance affecting the damage. This is only a simplified calculation of just how Threshold affects the damage.
As every bullet now does only 14 damage, and 6 bullets hit Zmeja, he now gets 84 damage. In reality, every bullet would have its own damage calculated, and there would also be Damage Resistance affecting the damage. This is only a simplified calculation of just how Threshold affects the damage.

Revision as of 12:23, 13 October 2023

Damage Calculation is sadly a very complicated topic in the game. The file for calculating damage is over thousands of lines long, so here, I will explain the mere basics of which values do what in terms of damage calculations.

Apart from Armor Class and Cover lowering our chance to be hit, we have ways to decrease the damage once we actually get hit.

For this, we have both Damage Resistances and Damage Thresholds. Both accomplish the same goal of lowering the damage we receive, but in different ways.

Damage Resistance

A value in Damage Resistance is always a percentage. For example. we can have a Fire Resistance of 35%. This means, that any Fire Damage we receive, we will block 35% of it.

Let's say, Zmeja is hit standing in Fire. One tick does 80 Fire damage. How much damage would Zmeja receive, if he has 35% Fire Resistance?

After removing 35% of the damage, Zmeja gets hit for 52 damage per tick from the molotov. In reality, Zmeja's Fire Threshold would also lower the damage he receives. This is only a simplified calculation of just how Resistance affects the damage.

Damage Threshold

A value in Damage Threshold is always a flat integer value. For example, we can have a Normal Threshold of 7. This means, that every bullet fired from a weapon with normal damage, will deal 7 less damage.

Let's say, Zmeja stands inside a burst. An enemy shoots a burst of 10 bullets, but only 6 bullets hit Zmeja. A bullet does 25 damage, and Zmeja has a Damage Threshold of 11. How much damage does he receive?

As every bullet now does only 14 damage, and 6 bullets hit Zmeja, he now gets 84 damage. In reality, every bullet would have its own damage calculated, and there would also be Damage Resistance affecting the damage. This is only a simplified calculation of just how Threshold affects the damage.