The hardwood might as well be paved with gold: The average National Basketball Association franchise is now worth $1.36 billion, a 3.5-fold increase over the last five years. Fueling the gains are the NBA’s $24 billion media deal with ESPN and TNT that kicked off this season, a new collective bargaining agreement ensuring seven years of labor peace and massive international opportunities.

Leading the way are a pair of big-market franchises mired in dysfunction: the New York Knicks and Los Angeles Lakers. The pair have lost 68% of their games over the past three-plus seasons, but businesswise it seems that they can do no wrong.

The Knicks are in total disarray with the media/Twitter war between star Carmelo Anthony and President Phil Jackson, while beloved ex-Knick Charles Oakley gets thrown out of Madison Square Garden and former malcontent Latrell Sprewell is now BFFs with owner James Dolan. Despite the turmoil, the Knicks are the NBA’s most valuable team for the second straight year, worth $3.3 billion, up 10% over last year.