From bb0a3b8b5b1093137ebbac216fd664b4eb6e6a59 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 5 Jun 2024 18:56:16 -0500 Subject: [PATCH] drop rates adjusted again --- src/engine/gameManager/LootManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 796b3526..ef00efec 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -124,12 +124,12 @@ public enum LootManager { case "LOOT": if (ThreadLocalRandom.current().nextInt(1, 100 + 1) < (bse.dropChance * dropRate)) GenerateLootDrop(mob, bse.genTable); //generate normal loot drop - if(mob.contractCounter * dropRate >= 250){ + if(ThreadLocalRandom.current().nextInt(2500) < 10 * dropRate){ MobLoot extraLoot = rollForContract(bse.genTable, mob); if (extraLoot != null) mob.getCharItemManager().addItemToInventory(extraLoot); } - if(mob.runeCounter * dropRate >= 250){ + if(ThreadLocalRandom.current().nextInt(2500) < 10 * dropRate){ MobLoot extraLoot = rollForRune(bse.genTable, mob); if (extraLoot != null) mob.getCharItemManager().addItemToInventory(extraLoot);