m (reword) |
(Updated to use the math extension to better display the formulas, the last example doesn’t use it yet.) |
||
Line 61: | Line 61: | ||
[[File:Area Radius Calcul Graph.png|700px|Example Graph]] |
[[File:Area Radius Calcul Graph.png|700px|Example Graph]] |
||
⚫ | |||
+ | <math>\frac{Damage(x)-MinAreaDmg}{AreaDmg-MinAreaDmg}</math> will be equal to the corresponding ratio of radius <math>\frac{x-Radius}{MaxDmgRadius-Radius}</math>.<br><br> |
||
⚫ | |||
+ | <math>\begin{align} |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | \end{align}</math> |
||
+ | Using the above formula, we can find now find the damage done at any point:<br> |
||
⚫ | |||
+ | <math>\begin{align} |
||
⚫ | |||
+ | \end{align}</math> |
||
− | Detail on how to reach the formula: |
||
⚫ | |||
⚫ | |||
− | *(Damage(x) - MinAreaDmg) / (AreaDmg - MinAreaDmg) = (x - Radius) / (MaxDmgRadius - Radius) |
||
− | *Damage(x) - MinAreaDmg = (AreaDmg-MinAreaDmg) * (x - Radius) / (MaxDmgRadius - Radius) |
||
− | The formula we will be using: |
||
⚫ | |||
− | |||
− | Using the above example, we can find: |
||
<pre> |
<pre> |
||
Damage(x) = (60-.2*60)*(x-4)/(2-4)+.2*60 // This is the general formula using the value of the example above. |
Damage(x) = (60-.2*60)*(x-4)/(2-4)+.2*60 // This is the general formula using the value of the example above. |
Revision as of 14:18, 19 June 2020
Area Damage is, as its name implies, any type of damage being dealt in an area. The damage done in that area may not be the same everywhere. For most weapon, more damage will be done near the center than at the edges. The damage done isn’t affect by what is inside that area and will remain the same no matter the number of enemies.
Common sources
The most common source of Area Damage in game came in the form of explosive damage, but in practice any attack that deal damage in a sphere will behave the same.
Examples of non explosive Area Damage include the second part of the melee attack from the Pickaxe (Melee damage), the passive See You In Hell (Disintegrate damage), Death Cloud explosion (Fire + Heat damage).
Area damage can also in some case include attacks that don’t do any damage but affects temperature instead like the Snowball overclock for the Cryo Cannon or the Heat Radiance mod on the CRSPR Flamethrower.
Terminology
- Area Damage: This is the maximum amount of damage that will be done, usually in a small radius at the center of the area (in red).
- Maximum Damage Radius: Read this as Radius where the Maximum Damage will be done. This is a, usually smaller, part of the area where the damage done will be equal to the Area Damage (in red).
- Radius: A concentric radius, usually bigger than the Maximum Damage Radius. At the edge of this area, you will do the minimum possible damage (in yellow).
- Minimum Area Damage: The damage done at the edge of the Radius is determined as a percentage of the Area Damage. By default that value is 25%, but most weapons use a custom value (in blue).
The damage will scale linearly between the two radii (in yellow).
Mods and Overclock Increasing Radius
Any Mod or Overclock that increase the Radius in game will only affect the Radius, not the Maximum Damage Radius.
Only the Area Damage and Radius stats and are visible in game; the Maximum Damage Radius and Minimum Area Damage are hidden.
Deepcore 40mm PGL Without mods
Deepcore 40mm PGL With Nails + Tape (Radius +.5m)
Calculating the Damage Done at Any Range
We will take as an example a weapon with the following stats:
That means that weapon will deal:
- 60 Explosive damage within a sphere of 2m or less (in the red area).
- 20% of 60 = 12 Explosive damage at exactly 4m (on the blue line).
- No damage beyond 4m (beyond the blue line).
- Damage scales linearly between 2m and 4m (in the yellow area).
To calculate the damage done, since we know the damage scales between the two radii, that mean that the ratio of area damage
will be equal to the corresponding ratio of radius .
From that point we can can deduce a formula to calculate the damage done Damage(x) depending on the distance from the center of the area x:
Using the above formula, we can find now find the damage done at any point:
Damage(x) = (60-.2*60)*(x-4)/(2-4)+.2*60 // This is the general formula using the value of the example above. Damage(2.5m) = (60-12)*(2.5-4)/(2-4)+12 = 48 Explosive damage at 2.5 m Damage(3m) = (60-12)*(3-4)/(2-4)+12 = 36 Explosive damage at 3 m // this is the value used for x in the graph above. Damage(4m) = (60-12)*(4-4)/(2-4)+12 = 12 Explosive damage at 4 m // This match the damage of the Minimum Area Damage
|