From 3e15fc8206841852ea77d50af0b3f6e0058980a1 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 15 Jun 2024 19:11:49 -0500 Subject: [PATCH] bootysim command work --- src/engine/devcmd/cmds/SimulateBootyCmd.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/devcmd/cmds/SimulateBootyCmd.java b/src/engine/devcmd/cmds/SimulateBootyCmd.java index 544e6eb4..7c9a1b57 100644 --- a/src/engine/devcmd/cmds/SimulateBootyCmd.java +++ b/src/engine/devcmd/cmds/SimulateBootyCmd.java @@ -10,6 +10,8 @@ import java.util.ArrayList; import java.util.concurrent.ThreadLocalRandom; public class SimulateBootyCmd extends AbstractDevCmd { + + public int simCount = 5000; public SimulateBootyCmd() { super("bootysim"); } @@ -25,7 +27,7 @@ public class SimulateBootyCmd extends AbstractDevCmd { String output; - output = "Booty Simulation:" + newline; + output = "Booty Simulation: Rolls:" + simCount + newline; Mob mob = (Mob) target; output += "Name: " + mob.getName() + newline; @@ -51,7 +53,7 @@ public class SimulateBootyCmd extends AbstractDevCmd { int failures = 0; int goldAmount = 0; - for (int i = 0; i < 1000; ++i) { + for (int i = 0; i < simCount; ++i) { try { mob.loadInventory();