Chaos chest buffed.

dev
Nonoriri 11 years ago
parent 41fb9bda5f
commit d6f8ab1270
  1. 4
      BankEconomyMod/src/me/kaZep/Base/PlayerListener.java

@ -6945,8 +6945,8 @@ implements Listener
}break; }break;
case 5: { case 5: {
loc.getWorld().dropItemNaturally(loc, DiabloDropsHook.getRandomItem()); loc.getWorld().dropItemNaturally(loc, DiabloDropsHook.getRandomItem());
for (int i = 0; i < 10 && Math.random() < 0.2; i++) { for (int i = 0; i < 30 && Math.random() < 0.8; i++) {
// 20% for one extra, 4% for two extra, 0.8% for three extra, etc. // Averages 5 drops, anywhere from 1 to 31 can be generated.
loc.getWorld().dropItemNaturally(loc, DiabloDropsHook.getRandomItem()); loc.getWorld().dropItemNaturally(loc, DiabloDropsHook.getRandomItem());
} }
}break; }break;

Loading…
Cancel
Save