Adam Duvall hit three home runs and the Atlanta Braves scored a National League record with 29 runs in a 20-run win over the Miami Marlins in Atlanta.