Legs able to maintain their possessor upright in stormy weather at sea, that is, ability to stand or walk steadily on deck when a vessel is rolling or pitching in a rough sea
The ability to adjust one's balance to the motion of a ship, especially in rough seas. the ability to walk normally, not feel ill etc when you are travelling on a ship find/get your sea legs