From bf7e5c63331051deff6ab8e9da4add159155941b Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 8 Jul 2024 22:08:50 -0500 Subject: [PATCH] stronghold guardian fix --- src/engine/gameManager/LootManager.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index c6f9c2f9..4ead2e43 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -683,11 +683,17 @@ public enum LootManager { MobLoot goldAmount = new MobLoot(mob, gold); mob.getCharItemManager().addItemToInventory(goldAmount); } - if (ThreadLocalRandom.current().nextInt(100) < 75) + if (ThreadLocalRandom.current().nextInt(100) < 35) DropPresent(mob); if (commander) { + if (ThreadLocalRandom.current().nextInt(100) < 25) + DropPresent(mob); + + if (ThreadLocalRandom.current().nextInt(100) < 25) + DropPresent(mob); + //chance for glass if (ThreadLocalRandom.current().nextInt(100) < 75) { int glassID = rollRandomItem(126);