calculateStandardReceived

Calculates the damage that the target will receive

Return

damage that is actually going to be dealt, including the resistances

Parameters

amount

amount of damage that is going to be dealt

stats

statistics that will be used for extra calculations.

Statistics that are used:

  1. Statistic.DAMAGE_REDUCTION -> whole multiplier

  2. Statistic.DEFENSE -> (defense) / (defense + 100) multiplier

  3. Statistic.TRUE_DEFENSE -> (true defense) / (true defense * 10 + 1000) multiplier

The maximum damage reduction may not be more than 80%.