From 488188e9c38ef4394b63cbf795b840643dc035a7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 15 Jun 2024 19:03:08 -0500 Subject: [PATCH] glass chance work --- 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 e8f1bb96..b6c57b79 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -102,8 +102,8 @@ public enum LootManager { float dropRate; mob.hasContractOrRune = true; - //1 in 10,000 chance to drop glass - if(ThreadLocalRandom.current().nextInt(1,10000) == 500){ + //1 in 1,000 chance to drop glass + if(ThreadLocalRandom.current().nextInt(1,1000) == 500){ ItemBase glassItem = rollRandomItem(126); if(glassItem != null) { MobLoot toAdd = new MobLoot(mob, glassItem, false);