pirates do battle in pirates of the caribbean