Dwyane Wade scored 32 points to help the Miami Heat rally from an 11-point deficit in the second half to overcome the Portland Trail Blazers 108-104.
With the Heat trailing by two points in the final minute, Wade hit two jumpers then added two free throws to score his team's final eight points and 15 in the fourth quarter.
Miami (31-36) is seventh in the Eastern Conference playoff race.
Elsewhere, Danny Green scored 20 points, Tim Duncan had 19 and the San Antonio Spurs avoided losing three straight games to Eastern Conference opponents with a 114-103 win over the Milwaukee Bucks.
The Bucks got 19 points and nine rebounds from Giannis Antetokounmpo.
Russell Westbrook scored 36 points to lead the Oklahoma City Thunder to 122-118 victory over the Boston Celtics.
Cavaliers 117, Nets 92
Bulls 103, Pacers 86
Mavericks 107, Magic 102
Raptors 105, Timberwolves 100
76ers 94, Pistons 83