Enchanting

namespace Esper.Inventool.Enchanting

Understanding Enchanting

Enchanting is handled through the Item Stack class. Each item has a Enchantment struct, which simply stores enchantment data. An ItemStack stores a list of these since enchantments need to be a part of the item once they are enchanted.

Basically, a successful enchantment is achieved only if an enchanter item is used to enchantable item, and the player has the currency to cover the cost (if costs were enabled).

Enchanter Items

Enchanter items is a term that refers to an Item which has an Item Type with the Enchantment Mode set to Enchanter or Both.

Enchantable Items

Enchanter items is a term that refers to an / which has an Item Type with the Enchantment Mode set to Enchantable or Both.

'None' Enchantment Mode

If an item has an EnchantmentMode set to None, it cannot contribute to the enchanting system.

Enchantment Cost

Enchanting may cost the player some currency if the cost was enabled.

Enchantment Result

When an enchantment is successful, one stack of the enchanter item is used. The enchanter item's enchantment field will be added to the enchantable item stack's enchants list.

If an enchantment fails, it simply means that the requirements were not met.

Last updated