contract and rune drop work
This commit is contained in:
@@ -51,7 +51,7 @@ public class SimulateBootyCmd extends AbstractDevCmd {
|
||||
int failures = 0;
|
||||
int goldAmount = 0;
|
||||
|
||||
for (int i = 0; i < 100; ++i) {
|
||||
for (int i = 0; i < 1000; ++i) {
|
||||
|
||||
try {
|
||||
mob.loadInventory();
|
||||
|
||||
@@ -219,8 +219,8 @@ public enum LootManager {
|
||||
if(randomRune != null) {
|
||||
outItem = new MobLoot(mob, randomRune, false);
|
||||
}
|
||||
if(ThreadLocalRandom.current().nextInt(1,101) < 71)
|
||||
return null; // cut down world drops rates of runes by 70%
|
||||
//if(ThreadLocalRandom.current().nextInt(1,101) < 71)
|
||||
// return null; // cut down world drops rates of runes by 70%
|
||||
}
|
||||
|
||||
if(outItem.getItemBase().getType().equals(Enum.ItemType.CONTRACT)){
|
||||
@@ -228,8 +228,8 @@ public enum LootManager {
|
||||
if(randomContract != null) {
|
||||
outItem = new MobLoot(mob, randomContract, false);
|
||||
}
|
||||
if(ThreadLocalRandom.current().nextInt(1,101) < 71)
|
||||
return null; // cut down world drops rates of contracts by 70%
|
||||
//if(ThreadLocalRandom.current().nextInt(1,101) < 71)
|
||||
// return null; // cut down world drops rates of contracts by 70%
|
||||
}
|
||||
|
||||
if(outItem.getItemBase().getType().equals(Enum.ItemType.CONTRACT) || outItem.getItemBase().getType().equals(Enum.ItemType.RUNE)){
|
||||
|
||||
Reference in New Issue
Block a user