diff --git a/src/engine/devcmd/cmds/simulateBootyCmd.java b/src/engine/devcmd/cmds/simulateBootyCmd.java index 76830acf..2f6a520c 100644 --- a/src/engine/devcmd/cmds/simulateBootyCmd.java +++ b/src/engine/devcmd/cmds/simulateBootyCmd.java @@ -3,7 +3,9 @@ package engine.devcmd.cmds; import engine.Enum; import engine.devcmd.AbstractDevCmd; import engine.gameManager.BuildingManager; +import engine.gameManager.LootManager; import engine.gameManager.NPCManager; +import engine.gameManager.ZoneManager; import engine.objects.*; import java.util.ArrayList; @@ -135,7 +137,13 @@ public class simulateBootyCmd extends AbstractDevCmd { output += "Mob BootySet: " + mob.bootySet + newline; output += "Tables Rolled On: " + newline; for (BootySetEntry entry : NPCManager._bootySetMap.get(mob.getMobBase().bootySet)) { - output += "[" + entry.bootyType + "] " + entry.lootTable + newline; + output += "NORMAL TABLE [" + entry.bootyType + "] " + entry.lootTable + newline; + } + if(ZoneManager.inHotZone(mob.getLoc())){ + for (BootySetEntry entry : NPCManager._bootySetMap.get(mob.getMobBase().bootySet)) { + if(LootManager.generalItemTables.containsKey(entry.lootTable + 1) == true) + output += "HOTZONE TABLE [" + entry.bootyType + "] " + entry.lootTable + 1 + newline; + } } output += "Time Required To Gain Simulated Booty: " + respawnTime * 100 + " Seconds" + newline; output += "GLASS DROPS: " + GlassItems.size() + newline; diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 4d4ad929..872568d2 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -28,10 +28,10 @@ public enum LootManager { LOOTMANAGER; //new tables - private static final HashMap generalItemTables = new HashMap<>(); - private static final HashMap itemTables = new HashMap<>(); - private static final HashMap modTypeTables = new HashMap<>(); - private static final HashMap modTables = new HashMap<>(); + public static final HashMap generalItemTables = new HashMap<>(); + public static final HashMap itemTables = new HashMap<>(); + public static final HashMap modTypeTables = new HashMap<>(); + public static final HashMap modTables = new HashMap<>(); // Drop Rates