|
|
@ -683,11 +683,17 @@ public enum LootManager { |
|
|
|
MobLoot goldAmount = new MobLoot(mob, gold); |
|
|
|
MobLoot goldAmount = new MobLoot(mob, gold); |
|
|
|
mob.getCharItemManager().addItemToInventory(goldAmount); |
|
|
|
mob.getCharItemManager().addItemToInventory(goldAmount); |
|
|
|
} |
|
|
|
} |
|
|
|
if (ThreadLocalRandom.current().nextInt(100) < 75) |
|
|
|
if (ThreadLocalRandom.current().nextInt(100) < 35) |
|
|
|
DropPresent(mob); |
|
|
|
DropPresent(mob); |
|
|
|
|
|
|
|
|
|
|
|
if (commander) { |
|
|
|
if (commander) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ThreadLocalRandom.current().nextInt(100) < 25) |
|
|
|
|
|
|
|
DropPresent(mob); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ThreadLocalRandom.current().nextInt(100) < 25) |
|
|
|
|
|
|
|
DropPresent(mob); |
|
|
|
|
|
|
|
|
|
|
|
//chance for glass
|
|
|
|
//chance for glass
|
|
|
|
if (ThreadLocalRandom.current().nextInt(100) < 75) { |
|
|
|
if (ThreadLocalRandom.current().nextInt(100) < 75) { |
|
|
|
int glassID = rollRandomItem(126); |
|
|
|
int glassID = rollRandomItem(126); |
|
|
|