|
|
@ -122,7 +122,7 @@ public enum LootManager { |
|
|
|
case "LOOT": |
|
|
|
case "LOOT": |
|
|
|
if (ThreadLocalRandom.current().nextInt(1, 100 + 1) < (bse.dropChance * dropRate)) |
|
|
|
if (ThreadLocalRandom.current().nextInt(1, 100 + 1) < (bse.dropChance * dropRate)) |
|
|
|
GenerateLootDrop(mob, bse.genTable); //generate normal loot drop
|
|
|
|
GenerateLootDrop(mob, bse.genTable); //generate normal loot drop
|
|
|
|
if (mob.parentZone.getSafeZone() == 0 && hasExtraRolled == false && ThreadLocalRandom.current().nextInt(1, 5000) < 5 * dropRate) { |
|
|
|
if (mob.parentZone.getSafeZone() == 0 && hasExtraRolled == false && ThreadLocalRandom.current().nextInt(1, 5000) < 15 * dropRate) { |
|
|
|
int roll = ThreadLocalRandom.current().nextInt(1, 101); |
|
|
|
int roll = ThreadLocalRandom.current().nextInt(1, 101); |
|
|
|
MobLoot extraLoot = null; |
|
|
|
MobLoot extraLoot = null; |
|
|
|
if (roll <= 50) { |
|
|
|
if (roll <= 50) { |
|
|
|