"Obviously we haven't gotten the results the past little while that we'd like, but it's a tough league and you're going to go through those stretches," Skinner said. "You've got to stick with your game, take out the positives and build on them. [Reinhart] gets a big goal there, gives us a lift."
Hoffman got to a loose puck in front and scored a power-play goal to make it 3-2 at 12:15.
Skinner extended the Buffalo lead to 4-2 with a shot from the left dot with 3:46 left, but Barkov brought the Panthers to within 4-3 when he slid a shot by Ullmark with 1:29 remaining and Luongo pulled for an extra attacker.
"We kept coming at the end," Boughner said. "We found a way to get three goals but it was a tough loss just because it's an important game. They are all important these days but just as a team, we weren't really good tonight."