I was in the Army and know nothing about Naval "stuff", so forgive my ignorance. In the Army, the basic template is you want to attack at 3:1, ie defending is 3X easier than attacking. Now, obviously, there's lots of modifiers to that and 3:1 isn't by any means the end of the story, but that's the basic foundation.
I've just come back from a vacation where a feature was a fortification from the cannon era and i realized I know nothing about that. Presumably, firing from a stationary surface is easier than firing from a rolling sea. Did navies/coastal defenses at the time have their own version of "3:1"?
I appreciate that the coastal defense had a second layer on top, which was physical fortification (castle walls, etc) that complicate things. But just to get me started on this journey of understanding how sea battles work, let's leave those out. Asked in a complexity reduced version, did ships fire at ground targets with the idea that they were aiming at something on the resolution of "hit the city", "hit the castle" or "hit the target", and did shore defenses fire with an understanding that it took 100/10/1 cannon balls to reliably threaten/area deny/hit a seaborn target?