https://output.jsbin.com/yocipoquse/
World of Warcraft - Item Upgrade Item upgrades allow players to increase the level of armor and weapons that can be equipped. This boosts the stats of that equipment, in addition to sometimes adding buffs or rolling an affix again. It is important to note that although you can upgrade magic and other common equipment, it's generally not worth the cost. Rare and unique gear will quickly outclass modernized magic and common equipment. Cost The player must spend gold to upgrade an item. The cost of upgrading an item is based on the current level of the