How is damage calculated?

I don’t think the game uses something as simple as X armour defence vs Y weapon power = Z damage result. So what is the formula for it? Does anyone know if/where it’s located in the files. I think it will help me understand what exactly the combat system is doing.

I want to know why strength isn’t changing my damage.

I think if you have 50 slash defense and you have a slashing attack of 20 you will do 20 points of damage. All enemies have 100 health I think, and late game I was 1-3 shotting full plate enemies with a 130+ damage in stat sheet. Full decked out armor only gives you about 50 points of armor… So if I swing for 130 there is still 80 damage unaccounted for and that’s usually when they die after one more shot.

I’m not 100% on this but I do know that if your attack damage exceeds an opponents “defense” rating you break through a block.

I asked the same thing in multiple places, wanted to know the exact formulas, nobody was able to help me so far.

It has to be close to a 1 to 1 ratio.

1 defense negates 1 damage.