mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
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:
parent
cc1951c7ba
commit
12ac2f4ac7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user