In all, there were three walks, a wild pitch and hit batsman in the decisive eighth as the Marlins sent 11 men to the plate. With two outs, Lucas was hit on the left hand by McGregor and exited the game. After immediately coming out of the game, Lucas had an X-ray, which showed a non-displaced fracture.
St. Louis earlier climbed out of a one-run deficit by scoring once in the sixth and three more times an inning later. Shane Robinson drove home the tying run with a two-out single that scored Stephen Piscotty. Piscotty was on base after his one-out double off Marlins reliever Anthony DeSclafani.
Things didn't go much better for DeSclafani in the seventh. After Pete Kozma walked and Jon Jay singled, Ed Easley drove in Kozma with a groundout. Daniel Descalso delivered an RBI double later in the inning to pad the lead. Descalso finished the spring with 11 RBIs, matching Matt Adams for the team lead.
Piscotty capped the seventh-inning scoring with a sacrifice fly.
Hand was solid before handing the game over to the 'pen. The left-hander allowed consecutive singles to start the second inning, but did not allow another hit during the 61-pitch outing. Hand, who has been in competition for the fifth spot in the rotation, walked one and struck out two. He will open the regular season in the bullpen as the club announced its rotation after the game, with Tom Koehler earning the No. 5 spot.
Making his fifth and final spring start, Cardinals right-hander Michael Wacha allowed one run on four hits with six strikeouts over five innings. He wasn't as efficient (81 pitches, 56 strikes) as he has been, but finishes the spring having issued only three walks in 20 1/3 innings. Wacha struck out 23 during that span.
Wacha's next start will come on Wednesday in the second game of the regular season.
The lone walk Wacha issued on Thursday did come back to sting. Dietrich drew it to open the fifth, moved to second on a wild pitch, to third on a single, and scored the first run on a sacrifice fly by Brian Bogusevic.
Keith Butler, who is vying for the final spot in the Cardinals' bullpen, relieved Wacha in the sixth and struck out Marlins slugger Giancarlo Stanton. Randy Choate followed him in to finish the inning. Seth Maness, who has been knocked around this spring, stranded a runner at third in his one-inning appearance.
Up next: After wrapping up their spring schedule in Jupiter, the Marlins on Friday will play the first of two games against the Yankees in Tampa. Jacob Turner will start in the 7:05 p.m. ET contest. New York is going with Hiroki Kuroda. The Marlins still have two roster moves to make by Sunday's 3 p.m. ET deadline to set 25-man rosters.