diff --git a/src/engine/devcmd/cmds/SimulateBootyCmd.java b/src/engine/devcmd/cmds/SimulateBootyCmd.java index 227660e7..27a81761 100644 --- a/src/engine/devcmd/cmds/SimulateBootyCmd.java +++ b/src/engine/devcmd/cmds/SimulateBootyCmd.java @@ -54,6 +54,7 @@ public class SimulateBootyCmd extends AbstractDevCmd { ArrayList Resources = new ArrayList(); ArrayList Runes = new ArrayList(); ArrayList Contracts = new ArrayList(); + ArrayList GuardContracts = new ArrayList(); ArrayList Offerings = new ArrayList(); ArrayList OtherDrops = new ArrayList(); ArrayList EquipmentDrops = new ArrayList(); @@ -68,7 +69,10 @@ public class SimulateBootyCmd extends AbstractDevCmd { for (Item lootItem : mob.getCharItemManager().getInventory()) { switch (lootItem.getItemBase().getType()) { case CONTRACT: //CONTRACT - Contracts.add(lootItem); + if(lootItem.getName().contains("Captain")) + GuardContracts.add(lootItem); + else + Contracts.add(lootItem); break; case OFFERING: //OFFERING Offerings.add(lootItem); @@ -140,9 +144,15 @@ 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 totalRange = baseBound + levelPenalty; + output += "TOTAL ROLL POTENTIAL: " + totalRange + newline; output += "GLASS DROPS: " + GlassItems.size() + newline; output += "RUNE DROPS: " + Runes.size() + newline; output += "CONTRACTS DROPS: " + Contracts.size() + newline; + output += "GUARD CONTRACTS DROPS: " + GuardContracts.size() + newline; output += "RESOURCE DROPS: " + Resources.size() + newline; output += "OFFERINGS DROPPED: " + Offerings.size() + newline; output += "ENCHANTED ITEMS DROPPED: " + OtherDrops.size() + newline;