stronghold guardian fix

This commit is contained in:
2024-07-08 22:08:50 -05:00
parent 443f0f5450
commit bf7e5c6333
+7 -1
View File
@@ -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);