Yeah there were pretty interesting edge cases with calculations. Like, for example, there is still [1] a bug for a whip doing unreasonable amount of damage in some cases because armour penetration logic was pretty much strength/area = penetration power.
And because whip hit only with tiny end, it pretty much went thru any armour
And because whip hit only with tiny end, it pretty much went thru any armour
https://www.bay12games.com/dwarves/mantisbt/view.php?id=2712