ORLANDO, Fla. _ The Brooklyn Nets' 3-point shooting did in the Orlando Magic.
D'Angelo Russell poured in a game-high 40 points, hitting eight of his team's 19 3-pointers, and the Brooklyn Nets rallied from an eight-point, fourth-quarter deficit to beat the Magic, 117-115, on Friday night at Amway Center.
Aaron Gordon scored 23 points to lead the Magic, who had five players in double figures.
Magic center Nikola Vucevic recorded his 30th double-double of the season with 16 points and 17 rebounds. D.J. Augustin scored 17 points and Evan Fournier had 16 points for Orlando.
Brooklyn (24-23) came within one of tying its season-high for 3-pointers, outscoring the Magic 57-30 from long range.
The Magic (19-26) will try to split their home back-to-back Saturday night when they play host to the Bucks.
The Magic led 111-103 with 4:50 to play before the Nets went on an 8-0 run, capped by Spencer Dinwiddie's 4-point play when he was fouled after draining a 3-pointer from the corner.
After Vucevic tied it at 111-111 on a jump hook, Russell sank his eighth 3 to make it 116-113.
Terrence Ross was fouled shooting a 3 on the ensuing possession but missed the second, leaving the Magic down one.
Dinwiddie then hit one of two free throws for a 117-115 lead.
Fournier got into the lane with a good look at a game-tying shot but it came up short, ending the Magic's four-game home winning streak.