calculateStandardDealt

Calculates default non-magic damage that will be dealt

NOTE: the resulted damage does not include target's defense. In most cases you will also want to call calculateStandardReceived on the result to calculate damage that will be received by the target.

Return

pair of (damage dealt, whether the attack was critical)

Parameters

amount

base amount of damage, usually equal to the value of Statistic.DAMAGE

stats

statistics that will be used for extra calculations.

Statistics that are used:

  1. Statistic.STRENGTH -> 0.01 multiplier

  2. Statistic.DAMAGE_BOOST -> 0.01 multiplier

  3. Statistic.CRIT_DAMAGE -> 0.01 multiplier if the attack crits (see crits)

  4. Statistic.TRUE_DAMAGE -> (true damage) / (true damage + 100) multiplier