Browse Source

adjusted rates properly

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
efa4ce91fa
  1. 21
      src/engine/gameManager/LootManager.java

21
src/engine/gameManager/LootManager.java

@ -63,20 +63,13 @@ public enum LootManager {
// Cache drop rate values from Config manager. // Cache drop rate values from Config manager.
//NORMAL_DROP_RATE = Float.parseFloat(ConfigManager.MB_NORMAL_DROP_RATE.getValue()); NORMAL_DROP_RATE = Float.parseFloat(ConfigManager.MB_NORMAL_DROP_RATE.getValue());
//NORMAL_EXP_RATE = Float.parseFloat(ConfigManager.MB_NORMAL_EXP_RATE.getValue()); NORMAL_EXP_RATE = Float.parseFloat(ConfigManager.MB_NORMAL_EXP_RATE.getValue());
//NORMAL_GOLD_RATE = Float.parseFloat(ConfigManager.MB_NORMAL_GOLD_RATE.getValue()); NORMAL_GOLD_RATE = Float.parseFloat(ConfigManager.MB_NORMAL_GOLD_RATE.getValue());
//HOTZONE_DROP_RATE = Float.parseFloat(ConfigManager.MB_HOTZONE_DROP_RATE.getValue()); HOTZONE_DROP_RATE = Float.parseFloat(ConfigManager.MB_HOTZONE_DROP_RATE.getValue());
//HOTZONE_EXP_RATE = Float.parseFloat(ConfigManager.MB_HOTZONE_EXP_RATE.getValue()); HOTZONE_EXP_RATE = Float.parseFloat(ConfigManager.MB_HOTZONE_EXP_RATE.getValue());
//HOTZONE_GOLD_RATE = Float.parseFloat(ConfigManager.MB_HOTZONE_GOLD_RATE.getValue()); HOTZONE_GOLD_RATE = Float.parseFloat(ConfigManager.MB_HOTZONE_GOLD_RATE.getValue());
//hardcoded drop rates
NORMAL_DROP_RATE = 5.0f;
NORMAL_EXP_RATE = 5.0f;
NORMAL_GOLD_RATE = 5.0f;
HOTZONE_DROP_RATE = 10.0f;
HOTZONE_EXP_RATE = 10.0f;
HOTZONE_GOLD_RATE = 10.0f;
} }
public static void GenerateMobLoot(Mob mob) { public static void GenerateMobLoot(Mob mob) {

Loading…
Cancel
Save