Reef breakwater response to wave attack