This explains Battle Mechanics & Damage.

I copied this from a chat. English isn't their first language so wording is a bit off but to my knowledge this explains how damage is assigned in battle fairly accurately. If I'm mistaken then let me know because I don't want to steer others wrong.

https://preview.redd.it/6yiy1l7u986d1.png?width=1054&format=png&auto=webp&s=b79ceaa541acccfa99a71f6afafa3e042fdd6ac7