You can set your own pirates to fight different ways than charging into battle .
They can be set to melee (charging in to battle) , range ( use ranged items and keeps distance) , stay at ship ( could use cannons as well).
this will make it easy'er to use your team to do different assignments during battle.
i prefer that the ranged allies should keep distance but also not fall off the map that could be a problem
that's my suggestion because i want to have more teamwork with my pirates then having them to die one by one