Doesn’t the flail deal more damage to armor besides bypassing shield’s bonus to defense?
Here is a ss with both flail and boar spear. The flail can do more damage to armor, and bypasses shield and every attack has a +10% tohit head. On the other hand the spear has a +20% tohit only but has the highly effective spearwall.