Browse Source

audit command for drop rates

lakebane2
FatBoy-DOTC 3 weeks ago
parent
commit
a4bd47f001
  1. 3
      src/engine/gameManager/LootManager.java

3
src/engine/gameManager/LootManager.java

@ -129,10 +129,9 @@ public enum LootManager {
if (!mob.getSafeZone()) { if (!mob.getSafeZone()) {
boolean allow = false; boolean allow = false;
if(mob.level >= 50){ if(mob.level >= 50){
//totalRange = baseBound;
allow = true; allow = true;
}else{ }else{
if((50 - mob.level) < ThreadLocalRandom.current().nextInt(0,101)){ if((50 - mob.level) > ThreadLocalRandom.current().nextInt(0,101)){
allow = true; allow = true;
} }
} }

Loading…
Cancel
Save