Auto-translated
Tested the formula.
It needs to be adjusted – the value of the defense stat is unreasonably inflated.
The thing is that half of a creature's hit points are almost always noticeably higher than the average damage dealt.
The exception, as far as I remember, is snipers, but they are not available for recruitment in the Castle. And, of course, peasants:))).