aPunch/Blacksmith — pull request #8 by aufdemrand (2012-06-30 18:55:50+00:00)
Title: Fix to repair price being 'backwards' when accounting for durability.   

Item durability counts up.

An almost used-up Stone Sword, for example, is 126.
An almost used-up Diamond Sword is 1501.

New formula when taking durability into account. Base Price + (Item Durability * Price Per Durability Point)