Gems can revert an item/armor you have cursed. There should be a shop for gems (right by the sell area) that costs some gold depending on the level and the level requirement for your item. (Cursed items are an item you have upgraded in the wrong stat)
Gold costs:
Lvl 1-10 = 10K
Lvl 11-30 = 50K
Lvl 31-50 = 100K
Lvl 51- 80 = 300K
Lvl 81-100 = 500K
Lvl 101-130 = 1M
Lvl 131-150 = 5M
Lvl 151-160 = 300M
Lvl 161+ = 500M
Gems :
Revert Mage Weapon Gem: Reverses any spell power you have accidentally placed upon your item
Revert Warrior Weapon Gem: Reverses any physical power you have accidentally placed upon your item
Revert Warrior Armor Gem: Reverses the spell power or HP points you have accidentally placed upon your armor piece
Revert Mage Armor Gem: Reverses the physical power or HP points you have accidentally placed upon your armor piece
Revert Guardian Armor Gem: Reverses any spell power or physical power you have placed upon your armor piece
(Try to suggest this idea to vCaffy cuz I wanna let this idea come to life)