MIAMI (AP) Miami was desperate. So was Dallas.

Jimmy Butler and the Heat had just enough to help their playoff position - while dealing the Mavericks a big blow.

Butler had 35 points and 12 assists, Cody Zeller added 20 points and the Heat held off the Mavericks 129-122 on Saturday night to snap a three-game losing streak.

Max Strus and Kevin Love each scored 18 and Tyler Herro added 15 for the Heat. Miami won despite allowing Dallas to shoot a season-best 61%.

“I wouldn't necessarily have drawn it up this way,” Heat coach Erik Spoelstra said.

Luka Doncic was brilliant again for Dallas, finishing with 42 points, 10 rebounds and eight assists. Tim Hardaway Jr. had 31 points and Kyrie Irving added 23 points and eight assists for the Mavericks.

“A win is a win,” Butler said. “I don't like the fact that they shot 61%. But I do like the fact that we finally won a game.”

The Mavs had been 7-0 this season when shooting at least 54%, and fell to 30-2 all-time, including playoffs, in games where they shot at least 60%.

“Our defense was nonexistent,” Dallas coach Jason Kidd said. “Couldn't get stops.”

Both clubs went to the conference finals last season; the Heat are trying to get out of the play-in round, and the Mavericks are trying to just have a shot at the playoffs.

The win moves Miami (41-37) closer to securing no worse than the No. 7 seed and most advantageous spot in the Eastern Conference play-in tournament. The Heat are now 2 1/2 games ahead of both No. 8 Atlanta (38-39) and No. 9 Toronto (also 38-39).

Miami moved within 1 1/2 games of No. 6 Brooklyn (42-35). Even if the Heat win out and finish with 45 wins, the Nets - who hold the head-to-head tiebreaker - would only need to go 3-2 in their final five games to ensure they would finish ahead of Miami.

Meanwhile, it’s a big blow to Dallas (37-41).

The Mavs fell a full game back of No. 10 Oklahoma City (38-40) in the race for the last Western Conference play-in spot, and worse, the Thunder own the head-to-head tiebreaker. Dallas is now two games back of No. 9 Minnesota (39-39) and just a half-game ahead of No. 12 Utah (36-41).

“Just got to play hard, play with desperation and anything can happen,” Hardaway said. “Anything can happen.”

Miami changed its starting lineup, partly out of necessity. Center Bam Adebayo didn’t play because of a right hip contusion, so Zeller - starting a game for the first time since May 15, 2021, for Charlotte - took his spot and Strus took the forward starting spot that had been held by Love since he joined the Heat in February.

The moves paid immediate dividends. Strus was 3 for 3, all 3-pointers, in his first shift. Love was 3 for 3 from the field and 6 for 6 from the line for 13 points in his first 8 minutes off the bench, and Zeller had 12 points by halftime.

“K-Love is always, always has been about winning,” Butler said. “As long as we win, he's not going to complain.”

It all helped add up to the third highest-scoring first half in Heat history: Miami led 76-64 at the break, stretched the lead to 18 in the second half - then had to hang on in the final moments anyway.

TIP-INS

Mavericks: Dallas' string of three consecutive winning regular seasons will end. The best the Mavs can finish is 41-41. ... The Mavs fell to 5-16 in games where they allow more than 100 points. ... Dallas had one offensive rebound.

Heat: Butler’s 16 first-quarter points were his second-most in any quarter this season. He had 17 in the third quarter against Milwaukee on Feb. 4. … Miami will finish with a record of at least .500 for the fourth consecutive year and the 24th time in its 35 seasons.

WHAT’S LEFT

Dallas plays its final road game of the regular season at Atlanta on Sunday, then finishes with home games against Sacramento, Chicago and San Antonio.

Miami starts a trip to Detroit, Philadelphia and Washington on Tuesday, before finishing at home April 9 against Orlando.

UP NEXT

Mavericks: Visit Atlanta on Sunday.

Heat: Visit Detroit on Tuesday.

---

AP NBA: https://apnews.com/hub/NBA and https://twitter.com/AP-Sports

Copyright 2024 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.