As the Magic made their lone trip of the regular season to Dallas on Wednesday night, it was a special evening for coach Sean Sweeney. The first-time NBA head coach previously spent four years from 2021-25 as an assistant for the Mavericks.

Dallas is also led by a first-time NBA coach in Dusty May, who won a national championship at Michigan last spring and previously coached at Florida Atlanta University from 2018-24.

Behind a combined 71 points from Franz Wagner (26), Tristan da Silva (23) and Desmond Bane (22), it was Sweeney’s squad that departed American Airlines Center on top, 104-96, on a night that saw Dallas lead by as many as 17 points.

“The second half I thought our disposition to play tougher, to play more together, to compete regardless of what took place, was really strong,” Sweeney said after the game. “We didn’t even start the second half the way we wanted to, but I thought our disposition, our competitive response when we did have some issues, was really strong.”

“Across the board, numerous performances, those guys had the disposition we wanted, and even when it didn’t start the way we wanted it to, they did a good job of sticking with it and walking the game down,” Sweeney added.

Although the Mavericks outscored the Magic 52-34 in the paint, Orlando made 10 more 3-pointers than Dallas and outscored the Western Conference foe 55-40 in the second half.

Dallas (12-9) was led by Montverde Academy product Cooper Flagg, who neared a triple-double with 28 points, eight rebounds and 10 assists in the eight point loss.

Winners of three in a row and at a .500 record for the first time this season, the Magic (10-10) will return home for a couple days of practice before they travel again this weekend to take on the Cavaliers on Sunday night.

Wagner’s way

It was a tale of two halves for the German forward against the Mavericks.

After he scored 10 points on 2-for-9 shooting from the field in the first half, Wagner shot 6 for 12 from the floor for 16 points in the second half.

Tacking on 12 rebounds and six assists, Wagner recorded his team-high eighth double-double of the season. Wednesday’s game also marked his fourth straight contest and 15th of the year scoring 20-plus points.

Difference from distance

Bane knocked down seven 3-pointers and da Silva sunk seven more long-range attempts.

Da Silva didn’t miss any of his seven 3-point attempts and Bane shot 7 for 15 from distance when the pair combined to go 14 for 22 (63.6%) from beyond the arc.

It marked the first time in franchise history that two players made seven-plus 3-pointers in the same game. Da Silva’s 7-for-7 performance from 3-point range also represented the most makes without a miss in franchise history, the team said.

“He’s an elite shooter,” Sweeney said about da Silva. “The list goes on with how well he can shoot the basketball and then he’s got the shooter’s mindset. … He’s got a short memory and he’s aggressive to hunt those shots when they’re there for him.”

Meanwhile, the Mavericks as an entire team only made six of their 27 long-range attempts and shot 22% from the perimeter. Orlando overall ended at 39% from 3-point range (16 of 41).

KPJ debut

New Magic guard Kevin Porter Jr. made his debut for Orlando on Wednesday night.

He first checked into the game at the 2:46 mark of first quarter and recorded two quick assists: First, a drop-off pass to reserve center Goga Bitadze and then a nifty kickout pass to da Silva for a 3-pointer.

Porter missed all of his five shots from the floor and was held scoreless in 13 minutes. He added five rebounds and three assists.

Carter Jr. deals with injury

Magic center Wendell Carter Jr. first appeared to grab at his right thigh area late in the second quarter but was able to start the third quarter.

After two minutes of third-quarter action, however, Carter exited the game and left the bench area. The Magic later said Carter was questionable to return to the game due to right hip tightness.

Carter made his way back to the court at the 5:39 of the third frame. Battling through the injury, he recorded seven points and nine rebounds in 35 minutes.

Jason Beede can be reached at jbeede@orlandosentinel.com