contract and rune drop work

This commit is contained in:
2024-06-15 19:00:58 -05:00
parent 6375b4431c
commit 0d31bc4280
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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();
+4 -4
View File
@@ -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)){