From 2a7fd87686224ef0d6c5c84a51790429bc63270e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 12 Mar 2025 20:40:12 -0500 Subject: [PATCH] add mob adding stronghold mobs --- src/engine/gameManager/LootManager.java | 4 ++-- src/engine/objects/Mob.java | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 498bc909..74f7db29 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -890,8 +890,8 @@ public enum LootManager { } //present drop chance for all - if (ThreadLocalRandom.current().nextInt(100) < 35) - DropPresent(mob); + //if (ThreadLocalRandom.current().nextInt(100) < 35) + // DropPresent(mob); //random contract drop chance for all if (ThreadLocalRandom.current().nextInt(100) < 40) { diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 7e24b89d..d097aec9 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1496,8 +1496,11 @@ public class Mob extends AbstractIntelligenceAgent { if (isPlayerGuard) return; - - LootManager.GenerateMobLoot(this); + if(this.isHellgateMob){ + LootManager.GenerateStrongholdLoot(this,false,false); + }else { + LootManager.GenerateMobLoot(this); + } } @Override