From 6a400467dd1d97b33538f2d6f231a8fcce9852e8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 15 Jun 2024 19:10:29 -0500 Subject: [PATCH] drop rate work --- src/engine/gameManager/LootManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index b6c57b79..baae0fc6 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -507,7 +507,7 @@ public enum LootManager { itemTableEntryList = LootManager._itemTables.get(itemTable); int minRoll = itemTableEntryList.get(0).minRoll; - int maxRoll = itemTableEntryList.get(itemTableEntryList.size() - 1).maxRoll; + int maxRoll = 320; int roll = ThreadLocalRandom.current().nextInt(minRoll,maxRoll + 1); for (ItemTableEntry iteration : itemTableEntryList)