From 5ee3438e4284d5a80a292fececb7fa805db22614 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 12 Apr 2024 23:00:46 -0500 Subject: [PATCH] start with conc --- src/engine/gameManager/LootManager.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 81d21b4b..21ed27dd 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -137,18 +137,15 @@ 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.parentZone.getSafeZone() == 0 && hasExtraRolled == false && ThreadLocalRandom.current().nextInt(1, 10000) < 5 * dropRate) { + if (mob.parentZone.getSafeZone() == 0 && hasExtraRolled == false && ThreadLocalRandom.current().nextInt(1, 5000) < 5 * dropRate) { int roll = ThreadLocalRandom.current().nextInt(1, 101); MobLoot extraLoot = null; - if (roll >= 1 && roll <= 50) { + if (roll <= 50) { extraLoot = rollForContract(bse.genTable, mob); } - if (roll >= 51 && roll <= 94) { + if (roll >= 51) { extraLoot = rollForRune(bse.genTable, mob); } - //if (roll >= 95) { - // extraLoot = rollForGlass(mob); - //} if (extraLoot != null) { mob.getCharItemManager().addItemToInventory(extraLoot); }