Browse Source

stronghold guardian fix

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
bf7e5c6333
  1. 8
      src/engine/gameManager/LootManager.java

8
src/engine/gameManager/LootManager.java

@ -683,11 +683,17 @@ public enum LootManager { @@ -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);

Loading…
Cancel
Save