From b5f36b60f72d80b4afbbc3d90abb672c177ddcd2 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 19 Feb 2024 18:01:19 -0600 Subject: [PATCH] loot update --- src/engine/gameManager/LootManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 77657678..a27613f2 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -118,10 +118,10 @@ public enum LootManager { int roll = ThreadLocalRandom.current().nextInt(1, 101); MobLoot extraLoot = null; if (roll >= 1 && roll <= 50) { - extraLoot = rollForContract(bse.genTable + 1, mob); + extraLoot = rollForContract(bse.genTable, mob); } if (roll >= 51 && roll <= 94) { - extraLoot = rollForRune(bse.genTable + 1, mob); + extraLoot = rollForRune(bse.genTable, mob); } if (roll >= 95) { extraLoot = rollForGlass(mob); @@ -473,7 +473,7 @@ public enum LootManager { } public static MobLoot rollForContract(int table, Mob mob){ - GenTableEntry selectedRow = GenTableEntry.rollTable(table, 95, 1.0f); + GenTableEntry selectedRow = GenTableEntry.rollTable(table, 99, 1.0f); if (selectedRow == null) return null; @@ -496,7 +496,7 @@ public enum LootManager { return null; } public static MobLoot rollForRune(int table, Mob mob){ - GenTableEntry selectedRow = GenTableEntry.rollTable(table, 95, 1.0f); + GenTableEntry selectedRow = GenTableEntry.rollTable(table, 97, 1.0f); if (selectedRow == null) return null;