mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-04-05 11:16:24 +02:00
Because 50% was too high.
This commit is contained in:
parent
f43b4ebdc5
commit
93180ccd06
@ -165,13 +165,13 @@ public class Fishing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* CHANCE OF ITEM BEING ENCHANTED
|
/* CHANCE OF ITEM BEING ENCHANTED
|
||||||
* 10% - Tier 1
|
* 5% - Tier 1
|
||||||
* 20% - Tier 2
|
* 10% - Tier 2
|
||||||
* 30% - Tier 3
|
* 15% - Tier 3
|
||||||
* 40% - Tier 4
|
* 20% - Tier 4
|
||||||
* 50% - Tier 5
|
* 25% - Tier 5
|
||||||
*/
|
*/
|
||||||
if (Misc.getRandom().nextInt(randomChance) <= (lootTier * 10) && Permissions.fishingMagic(player)) {
|
if (Misc.getRandom().nextInt(randomChance) <= (lootTier * 5) && Permissions.fishingMagic(player)) {
|
||||||
for (Enchantment newEnchant : Enchantment.values()) {
|
for (Enchantment newEnchant : Enchantment.values()) {
|
||||||
if (newEnchant.canEnchantItem(fishingResults)) {
|
if (newEnchant.canEnchantItem(fishingResults)) {
|
||||||
specificChance++;
|
specificChance++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user