Enchantment: Fixed rarity constant values to match vanilla

Rarity is used for "weighting" enchantments on enchantment tables and such. Therefore higher numbers mean the enchantment is more common. This changes the rarity values to match vanilla.
This commit is contained in:
Dylan K. Taylor 2017-12-16 10:50:24 +00:00
parent cc1951c7ba
commit 12ac2f4ac7

View File

@ -56,10 +56,10 @@ class Enchantment{
public const FROST_WALKER = 25;
public const MENDING = 26;
public const RARITY_COMMON = 0;
public const RARITY_UNCOMMON = 1;
public const RARITY_COMMON = 10;
public const RARITY_UNCOMMON = 5;
public const RARITY_RARE = 2;
public const RARITY_MYTHIC = 3;
public const RARITY_MYTHIC = 1;
public const SLOT_NONE = 0;
public const SLOT_ALL = 0b11111111111111;