Browse Source

rune and contract rate update

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
2c7baaf2ac
  1. 2
      src/engine/gameManager/LootManager.java

2
src/engine/gameManager/LootManager.java

@ -113,7 +113,7 @@ public enum LootManager {
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(ThreadLocalRandom.current().nextInt(1,101) < mob.level && mob.parentZone.getSafeZone() == 0) { if(ThreadLocalRandom.current().nextInt(1,101) < mob.level && mob.parentZone.getSafeZone() == 0) {
if (ThreadLocalRandom.current().nextInt(1, 20000) == 10000) { if (ThreadLocalRandom.current().nextInt(1, 20000) < mob.level) {
if (_genTables.containsKey(bse.genTable + 1)) { if (_genTables.containsKey(bse.genTable + 1)) {
int roll = ThreadLocalRandom.current().nextInt(1, 101); int roll = ThreadLocalRandom.current().nextInt(1, 101);
MobLoot extraLoot = null; MobLoot extraLoot = null;

Loading…
Cancel
Save