The outpouring of emotion for Dirk Nowitzki's final home game overshadowed everything on Tuesday night.

That included another stellar effort from Mavericks rookie guard Luka Doncic. Doncic recorded his eighth triple-double in the Mavs' 120-109 victory over Phoenix at the American Airlines Center.

The seven other times that happened this season, Doncic's personal feat was the focal point. Not on Tuesday, when everything was centered around tributes for Nowitzki, who announced his retirement in an emotional ceremony after the game.

Doncic and the rest of the Mavs looked for every opportunity to get Nowitzki the ball often. The forward scored 30 points for the first time in three years on a season-high 31 shot attempts.

"I was hoping he would score at least 41, something special," said Doncic, referencing the jersey number that will eventually hang in the rafters of the AAC. "The whole team tried to feed him. He has a lot of points in the NBA. I think he had a great time today."

Doncic finished with 21 points, 11 assists and a season-high 16 rebounds. Ten of those points came in the fourth quarter, when the Suns closed the deficit to five points after trailing by as many as 32.

But Dallas held on for the victory, a 48-minute affair that served as the undercard for one of the most iconic events in the city's sports history. Nowitzki received on-court tributes from NBA legends Larry Bird, Scottie Pippen, Charles Barkley, Shawn Kemp and Detlef Schrempf.

Nowitzki made the announcement everyone knew was coming. After Wednesday's game at San Antonio, his 21-year career in the NBA will be over.

"I was emotional," Doncic said. "The whole team was emotional, so imagine him. It was a great deal. He deserves all of it."

Mavs veteran guard J.J. Barea said it was good for the young players on the team, especially Doncic and Kristaps Porzingis, to see how much the city appreciated Nowitzki.

"They have a huge opportunity they can take advantage of, especially in this city," Barea said. "If you do things the right way and you work, you can get something like this."

Doncic helped bring Nowitzki a victory in his final game in Dallas. After all the festivities ended, the 20-year-old reflected on a stellar rookie year that included playing alongside the future Hall of Famer.

"I wish I could spend more days with Dirk," Doncic said. "I wish he would be younger and we could play together. But it was great. This one year was amazing for me, one of my best years. It's just been amazing, being with Dirk."

More Dirk coverage

-- 'It's time': Dirk Nowitzki announces plans to retire after thrilling final performance on Mavs' home court

-- Dirk Nowitzki makes final Mavs game at AAC a night to remember: 'I left Germany 20 years ago and I became a Texan'

-- Watch: Dirk Nowitzki's retirement speech following Mavs win vs. Suns

-- 'Uncle Dirk' video brings Dirk Nowitzki to tears in second quarter vs. Suns

-- LeBron James, Emmitt Smith, former Mavs teammates react to Dirk Nowitzki's final game in Dallas

-- On Nowitzki's big night, Mavs rookie Luka Doncic records eighth triple-double in win over Phoenix

-- Photos: NBA legends, former teammates share tears and laughter in celebration of Mavs legend Dirk Nowitzki

-- Charles Barkley jokes about firing Shaq and Kenny Smith on 'Inside the NBA' to make room for Dirk Nowitzki

-- Photo essay: Murals, tattoos, stained-glass windows -- tributes to Dirk Nowitzki loom large in Dallas

-- Dirk forever: A collection of videos, photos and stories honoring No. 41