Calculates the damage reduction based on distance using a linear falloff formula.
The distance between the target and the source.
The minimum damage value.
The maximum damage value.
The distance at which damage falloff begins.
The distance at which damage reaches its minimum value.
The calculated damage after falloff.
Calculates the damage reduction based on distance using a linear falloff formula.