This might be one ripped from the pages of the textbook on how to prepare a team for the playoffs — a touch of adversity, and tons of good feeling. That’s how the Rangers dealt with the Hurricanes on Tuesday night at the Garden, putting them to sleep with four unanswered goals en route to a 4-1 win. By going two-for-three on the previously dormant power play — both goals from Brad Richards — the victory got the Blueshirts one step closer to wrapping up home-ice advantage for the playoffs, their next major goal after clinching their eighth postseason berth in the past nine seasons while idle on Monday night by virtue of a Devils’ loss. “You want to get into good habits. You want to try to play the game you want to play next week,” said goalie Henrik Lundqvist, who made 27 saves, none more important than a first-period breakaway on Alex Semin that kept the Hurricanes early lead at 1-0. “You don’t want to change anything, your approach or your focus on the details. It needs to be here now and it needs to be there next week. You can’t take any shortcuts.” Surely, the Rangers (44-31-5) have taken few shortcuts on this winding road to where they are, which is second in the Metropolitan Division, holding a two-point cushion over the Flyers, who kept pace with a breezy 5-2 win over the Panthers. There are two more regular-season games remaining for the Rangers, Thursday at home against the last-overall Sabres, and then a trip to their House of Horrors in Montreal for the finale on Saturday. “We talked about it before the game, that we have been playing good hockey for a long time,” said coach Alain Vigneault, whose team is now 8-2-1 in the past 11. “We want to go into the playoffs feeling good about our game.”