audit command for drop rates

This commit is contained in:
FatBoy committed 2024-12-27 20:10:39 -06:00
1 parent d462711d25
commit 878f05c323
2 files changed
+2 -6

No files matched your search

+1 -2
View File
@@ -145,8 +145,7 @@ public class SimulateBootyCmd extends AbstractDevCmd {
}
int baseBound = 100000;
int levelPenalty = (int) ((mob.level > 50 ? (mob.level - 50) : (50 - mob.level)) * 0.01 * baseBound);
// Total range with penalty applied
int levelPenalty = (int) (Math.max(0, Math.abs(50 - mob.level)) * 0.01 * 100000);
int totalRange = baseBound + levelPenalty;
output += "TOTAL ROLL POTENTIAL: " + totalRange + newline;
output += "GLASS DROPS: " + GlassItems.size() + newline;