mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 11:44:42 +02:00
Fleshing out the abstraction
This commit is contained in:
@ -57,7 +57,7 @@ public class FishingCommand extends SkillCommand {
|
||||
if (canTreasureHunt) {
|
||||
lootTier = fishingManager.getLootTier();
|
||||
|
||||
// Item drop rates
|
||||
// ItemStack drop rates
|
||||
commonTreasure = percent.format(TreasureConfig.getInstance().getItemDropRate(lootTier, Rarity.COMMON) / 100.0);
|
||||
uncommonTreasure = percent.format(TreasureConfig.getInstance().getItemDropRate(lootTier, Rarity.UNCOMMON) / 100.0);
|
||||
rareTreasure = percent.format(TreasureConfig.getInstance().getItemDropRate(lootTier, Rarity.RARE) / 100.0);
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Item Weights configuration
|
||||
# ItemStack Weights configuration
|
||||
#
|
||||
# This file is used to determine the value of an item. This will only
|
||||
# happen when users are sharing items in a party using the EQUAL item share mode.
|
||||
@ -27,7 +27,7 @@ Item_Weights:
|
||||
Coal: 10
|
||||
Coal_Ore: 10
|
||||
|
||||
# Item weights for armor and tools
|
||||
# ItemStack weights for armor and tools
|
||||
Diamond_Sword: 150
|
||||
Diamond_Shovel: 150
|
||||
Diamond_Pickaxe: 150
|
||||
|
Reference in New Issue
Block a user