mob max roll audit

This commit is contained in:
2023-07-25 20:59:23 -05:00
parent 43090a9bd1
commit 74d92aa671
2 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -219,11 +219,11 @@ public class LootManager {
return outItem;
}
private static int TableRoll(int mobLevel){
int max = 210 + (mobLevel * 2);
int max = 200 + (mobLevel * 3);
if(max > 320){
max = 320;
}
int min = (int)(mobLevel * 2.5f);
int min = mobLevel * 2;
int roll = ThreadLocalRandom.current().nextInt(max-min) + min;
return roll;
}