The Padres took advantage of the wind blowing straight out to center at Wrigley Field Tuesday night to hit three home runs and post season highs for runs, hits (17) and extra-base hits (nine) in a 13-7 win over the Chicago Cubs.

Nick Hundley, Yonder Alonso and Carlos Quentin homered for the Padres. The Cubs also hit four homers in a losing effort.

The 13 runs were the most ever scored by the Padres at Wrigley Field as they won their fifth game in six outings, including last weekend’s sweep of the Giants at Petco Park.

“From top to bottom, that’s as well as we’ve swung the bats all season,” said Padres manager Bud Black, who was speaking in terms of quality as well as quantity.

Everyone in the starting lineup, including starting pitcher Edinson Volquez, had at least one hit as the Padres team batting average shot up eight points to (.251) and the slugging percentage jumped 20 points.

“That’s why we say hitting is contagious,” said Hundley. “Not only did we get hits, we got two-out hits and hits with runners in scoring position.”

After going 1-for-10 in RISP situations in Monday night’s 5-3 loss, the Padres were 8-for-20 with runners in scoring position Tuesday night.

Both Hundley and Quentin drove in three runs while Alonso and rookie second baseman Jedd Gyorko, who opened the scoring with a two-run double in the second, had two RBIs apiece.

Hundley had the longest homer of the night, his three-run shot in the top of the eighth bouncing off a walk-way at the back of the grandstands in left-center. It was the catcher’s third homer of the season.

“That’s one of the harder hit balls in my career,” said Hundley