Fleshing out the abstraction

This commit is contained in:
nossr50
2019-02-13 08:40:13 -08:00
parent 84353de71d
commit 4461cfacd2
29 changed files with 306 additions and 110 deletions

View File

@ -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);

View File

@ -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