add mob adding stronghold mobs

lakebane
FatBoy-DOTC 2025-03-12 20:40:12 -05:00
parent 9078a41c58
commit 2a7fd87686
2 changed files with 7 additions and 4 deletions

View File

@ -890,8 +890,8 @@ public enum LootManager {
} }
//present drop chance for all //present drop chance for all
if (ThreadLocalRandom.current().nextInt(100) < 35) //if (ThreadLocalRandom.current().nextInt(100) < 35)
DropPresent(mob); // DropPresent(mob);
//random contract drop chance for all //random contract drop chance for all
if (ThreadLocalRandom.current().nextInt(100) < 40) { if (ThreadLocalRandom.current().nextInt(100) < 40) {

View File

@ -1496,9 +1496,12 @@ public class Mob extends AbstractIntelligenceAgent {
if (isPlayerGuard) if (isPlayerGuard)
return; return;
if(this.isHellgateMob){
LootManager.GenerateStrongholdLoot(this,false,false);
}else {
LootManager.GenerateMobLoot(this); LootManager.GenerateMobLoot(this);
} }
}
@Override @Override
public void updateDatabase() { public void updateDatabase() {