https://notes.io/w3Gxf
https://jsfiddle.net/angleoffer14/a5dtmovn/
World of Warcraft - Item Upgrade The upgrade feature for items allows players to boost the item level of equippable weapons or armor. This improves the stats and may also include buffs or rerolls to an attach. It is important to note that although you can upgrade magic and common equipment, it's generally not worth the cost. Unique and rare equipment will soon surpass upgraded magic and common equipment. Cost When a player decides to upgrade an item, they must pay Gold for the upgrade. The cost to upgrade an item