From 6c92abd083e0ee9b0ed614f56638eabc57299d96 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 15 Jul 2024 19:13:40 -0500 Subject: [PATCH] present drops restricted to strongholds --- src/engine/gameManager/LootManager.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 1bc0d00a..df13f063 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -169,10 +169,6 @@ public enum LootManager { } } - //check for special gifts 1/100 to drop present - if(ThreadLocalRandom.current().nextInt(1,25) == 15) - DropPresent(mob); - // Iterate all entries in this bootySet and process accordingly for (BootySetEntry bse : entries) { switch (bse.bootyType) { @@ -691,13 +687,12 @@ public enum LootManager { DropPresent(mob); //random contract drop chance for all - if (ThreadLocalRandom.current().nextInt(100) < 35) { + if (ThreadLocalRandom.current().nextInt(100) < 40) { int contractTableID = 250; contractTableID += ThreadLocalRandom.current().nextInt(0, 12); if (contractTableID > 259) contractTableID = 659; - if (ThreadLocalRandom.current().nextInt(100) < 35) { int id = rollRandomItem(contractTableID); ItemBase ib = ItemBase.getItemBase(id); if (ib != null) { @@ -706,7 +701,6 @@ public enum LootManager { if (contract != null) mob.getCharItemManager().addItemToInventory(contract); } - } } //special commander drop chances