Everything in the blue square on the left is for the ranged attack, everything for the melee attack is under the "Melee attack" section. It doesn't seem too confusing to me, but maybe having everything in the same location, as Solarius suggested, and having specific names (melee hit chance, melee power, melee TU cost, etc, and then snap shot accuracy, snap/aimed shot TU cost, ranged power) would be better?
Also.. I can't make a bayoneted musket, even after having researched flintlocks.. So it must require more than that! I would have thought it would be flintlocks + primitive weapons (it's a mix of gun and spear) but I already have primitive weapons, so it's not that either.. And I can't go look into Piratez.rul, too many spoilers!