|
|
MythicEnchants allows you to configure any number of "rarities" or types of enchantments. These are defined in the `raries.yml` file.
|
|
|
|
|
|
Rarities serve as an easy way to group enchantments and configure how they're obtained.
|
|
|
|
|
|
Every rarity has the following fields:
|
|
|
* `Display` - How the rarity is displayed in any info sources or output
|
|
|
* `Color` - The color enchantments of this rarity will be in the item tooltip
|
|
|
* `EnchantingTable.Chance` - A list of chances for an enchantment of this rarity to be chosen if a custom enchant will be applied. The first number corresponds to the [Lapis Level](https://git.lumine.io/mythiccraft/mythicenchants/-/wikis/Lapis-Level), and the second is a chance (where 0.25 is 25%).
|
|
|
* `EnchantingTable.MinLevel` - The minimum xp level a player must have to receive an enchant of this rarity. The first number corresponds to the [Lapis Level](https://git.lumine.io/mythiccraft/mythicenchants/-/wikis/Lapis-Level), and the second is the experience level.
|
|
|
* `EnchantingTable.MinCost` - The minimum enchanting cost to receive an enchant of this rarity. The first number corresponds to the [Lapis Level](https://git.lumine.io/mythiccraft/mythicenchants/-/wikis/Lapis-Level), and the second is the cost (between 1 and 3).
|
|
|
|
|
|
```
|
|
|
COMMON:
|
|
|
Display: 'Common'
|
|
|
Color: GRAY
|
|
|
EnchantingTable:
|
|
|
Chance:
|
|
|
- 0 0.25
|
|
|
- 1 0.50
|
|
|
- 2 1.00
|
|
|
MinLevel:
|
|
|
- 0 20
|
|
|
- 1 10
|
|
|
MinCost:
|
|
|
- 0 3
|
|
|
- 1 2
|
|
|
``` |
|
|
\ No newline at end of file |