In other words, it should look approximately like this:
...Coefficient 0.1: on attack - upon impact, the damage dealt is calculated as the difference between the attacker's attack skill and the defender's defense skill * original damage * 0.1. (this is if the attacker's attack is greater than the defender's defense)
and, if the attacker's attack is less than the defender's defense, then
damage dealt = (attacker's attack skill - defender's defense skill) * original damage * 0.05
Why the coefficients 0.1 and 0.05??? In
