Throughout the league season, he scored 20 goals, his best haul in Serie A up to that point, which allowed him to win his second Guerin d'Oro as the player with the best average rating in Serie A throughout the season. Moreover, the Roma captain notably scored trademark chipped goals on two occasions throughout the season, against Brescia and Empoli. Despite Roma's disappointing 2004–05 season, which saw the departure of a number of players and several managerial changes, Totti maintained consistent form by scoring 12 goals in Serie A, and 15 in all competitions, among which was his 100th Serie A goal from a free kick in a 3–3 draw against Internazionale, on 3 October 2004. Two months later, on 19 December, he became Roma's all-time leading scorer in Serie A after netting his 107th career league goal against Parma, breaking the record previously held by Roberto Pruzzo. Although Roma finished the league season in eighth place, Totti helped the team reach the 2005 Coppa Italia final; however Roma lost to Inter.  Roma's new coach for the 2005–06 season, Luciano Spalletti, went with a 4–2–3–1 formation, deploying Totti in a newer, more offensive role as a lone striker. Despite his new attacking role, Totti usually dropped deep to pick up the ball in midfield rather than operating in the penalty area, thus creating space for the attacking midfielders and wingers to making offensive runs; the resulting system was later described as a 4–6–0, while Totti's particular attacking role was dubbed the "false-9". In this new position, Totti continued to score frequently, managing 15 goals in 24 league matches. In the spring of 2005, he renewed his contract until 2010, with an annual salary of €5.4 million. On 19 February 2006, he suffered a fracture of his left fibula and ligament damage during a match against Empoli after being fouled by Richard Vanigli. Totti was at risk of missing the 2006 World Cup, but returned to the side on 11 May 2006 as a substitute in Roma's 3–1 Coppa Italia final defeat to Inter. A metal plate had been attached to his ankle during surgery, but doctors decided not to operate again and remove it following Totti's return, concurring that the plate would not affect his game. He was given off-label treatments of teriparatide to speed-up his fracture recovery.