So what's the tactic? Stay farther offshore? Weighing being less likely to be attacked vs the attack being more dangerous as safety/help is farther away does not sound like fun.
a lot of the attacks are on boats that have either recently left a port, or are approaching a port.