Damage Calculation - MikeAmputer/orcs-have-issues GitHub Wiki
Damage formula
Damage is calculated according to the formula:
$$ \text{Damage} = \left\lfloor \text{Attack} \times (1.6 + 0.1 \times \text{WeaponRank}) + \text{BaseDamage} \right\rfloor $$
Where
Attack– your character'sATKstat, which can be leveled up throughout the game.WeaponRank– the rank of your weapon, which can be increased through thecraft weaponaction.BaseDamage– the base damage value, set at4for all characters.
[!NOTE] The final damage value is rounded down.
Defense formula
Post-mitigation damage (the damage your character takes after applying defensive stats and armor effects) is calculated according to the formula below:
$$ \text{PostMitigationDamage} = \left\lfloor \frac{\text{Damage}^2}{\text{Damage} + \text{Defense}^{1.2 + 0.1 \times \text{ArmorRank}}} \right\rfloor $$
Where
Damage– the value obtained from the above damage calculation.Defense– your character'sDEFstat, which can be leveled up throughout the game.ArmorRank– the rank of your armor, which you've achieved.
[!NOTE] The final post-mitigation damage value is also rounded down.