Ninja's would attack rich folks who were used to the light and didn't pay too much attention to the dark. Pirates, living in a big dark ship, have hightened senses in the dark. Advantage countered, and the pirates still have guns.