MIAMI — Tim Hardaway Jr. spent many nights as a kid shooting on the Miami Heat court, a perk that came with his father being a star guard for the team.

Clearly, it still feels like home.

Hardaway Jr. made 10 3-pointers and scored 36 points, Luka Doncic added 23 points and the Dallas Mavericks moved up to the No. 5 spot in the Western Conference by topping the short-handed Heat 127-113 on Tuesday night.

Hardaway Jr., back in an arena where his father Tim Hardaway's jersey sways from the rafters as a Heat legend, shot 13 of 24 from the field, 10 of 18 from 3-point land.

“Having that honour and that privilege to play under that jersey, it's special," Hardaway Jr. said.

Doncic had 12 rebounds and eight assists for the Mavericks, Jalen Brunson scored 19 points and Josh Richardson scored 17 for Dallas (37-28). The Mavs are tied with the Los Angeles Lakers record-wise, but hold the tiebreaker.

Hardaway Jr. tied the Mavericks record for 3’s in a game, plus became the third player to ever make that many in a game against Miami.

“Once he caught fire, he became just a big X-factor," Heat coach Erik Spoelstra said.

Duncan Robinson and Goran Dragic each scored 19 for Miami, which remained No. 6 in the Eastern Conference. The Heat played without Jimmy Butler, ruled out about two hours before the game with flu-like symptoms — not anything related to the coronavirus, the team said.

Trevor Ariza scored 16 of his 18 points in the first quarter for Miami. Gabe Vincent and Kendrick Nunn each scored 14 and Bam Adebayo finished with 11 points, 11 assists and nine rebounds for the Heat.

Miami (35-31) stayed sixth, but is now a full game behind No. 5 Atlanta (36-30) with six games left and the Hawks owning the tiebreaker. The Heat also are now just a half-game ahead of No. 7 Boston (34-31) and play the Celtics twice on the road next week.

“We're not trying to make it any harder on ourselves," Ariza said.

The win clinched no worse than a play-in tournament berth for Dallas, which would have fallen to No. 7 in the West with a loss.

“We’re just we’re going day-to-day with what we need to do to prepare for each given game,” Mavericks coach Rick Carlisle said. “Players are aware of standings and all the machinations going on there. We’ve got to stay in the present, we’ve got to stay process oriented and we’ve got to do the things that bring us success.”

The Mavs were down 11 early, but outscored Miami 33-15 in the second quarter and took the lead for good. Rookie Josh Green played the whole second quarter, and Carlisle credited his energy as one of the big reasons for the turnaround.

“The guy who changed the game was Josh Green," Carlisle said.

TIP-INS

Mavericks: Dallas is 13-3 since Feb. 3 in the game immediately following a loss. ... Kristaps Porzingis (right knee soreness) was out again but on the floor for a pregame workout. ... JR Smith (in 2014) and Paul George (in 2019) were the others to make 10 3’s in a game against Miami. George McCloud (in 1995) and Wesley Matthews (in 2015) were the other Mavs to make that many.

Heat: On his 29th birthday, Victor Oladipo (right knee) missed his 14th consecutive game. Tyler Herro (right foot soreness) sat out his sixth game in a row. ... Dragic fell to 2-2 in his head-to-head matchups with Doncic, his fellow Slovenian. ... Miami was 8 of 9 on 3's in the first quarter, then 1 of 11 in the second and finished the game 18 of 41.

HASLEM’S TIME

Udonis Haslem hasn’t played yet this season for Miami, his 18th with the Heat, though Spoelstra said he intends to use him at some point in the final games. “I’m going to make it happen,” Spoelstra said. The Heat keep Haslem, who appeared in four games last season, on the roster for his leadership behind the scenes — and might do the same again next season if Haslem wants.

KLEBER STATUS

Maxi Kleber missed the game for Dallas because of right Achilles soreness, adding to a season where he’s missed time with no fewer than five health issues, COVID-19 among them. The Mavs are bracing for him to miss a couple more games before returning. “It’s just been a lot ... so we’re going to take a little time here,” Carlisle said.

UP NEXT

Mavericks: Host Brooklyn on Thursday.

Heat: Host Minnesota on Friday.

___

More AP NBA: https://apnews.com/hub/NBA and https://twitter.com/AP_Sports