AFAIK, the game places pirates randomly. If pirates appear in the Mediterranean then they are crushed by fleets of other factions and because of that you don't see large pirate fleets there. However, in the Atlantic and Baltic regions Barbarian factions don't have money to support fleets and thus pirates just merge their fleets and the results are multiple 20 unit pirate fleets.
Bookmarks