From bf866805478565656deb4c0a89b83da7e7952fdf Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 5 Jul 2024 19:28:05 -0500 Subject: [PATCH] higher present drop chance --- src/engine/gameManager/LootManager.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 78186abb..fe994daa 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -85,10 +85,6 @@ public enum LootManager { if (mob.bootySet != 0 && _bootySetMap.containsKey(mob.bootySet)) RunBootySet(_bootySetMap.get(mob.bootySet), mob, inHotzone); - //check for special gifts 1/100 to drop present - if(ThreadLocalRandom.current().nextInt(1,101) == 50) - DropPresent(mob); - //lastly, check mobs inventory for godly or disc runes to send a server announcement for (Item it : mob.getInventory()) { @@ -121,6 +117,11 @@ public enum LootManager { mob.getCharItemManager().addItemToInventory(toAdd); } } + + //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) {