From 3a89e9c087d27eea5c087de17f2a55575815a58a Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 15 Jun 2024 19:59:31 -0500 Subject: [PATCH] logging --- src/engine/gameManager/LootManager.java | 5 +---- src/engine/loot/ItemTableEntry.java | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 8e721c78..770ad82a 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -68,7 +68,7 @@ public enum LootManager { } public static void GenerateMobLoot(Mob mob) { - + mob.hasContractOrRune = false; //determine if mob is in hotzone boolean inHotzone = false; @@ -100,7 +100,6 @@ public enum LootManager { boolean hotzoneWasRan = false; float dropRate; - mob.hasContractOrRune = true; //1 in 1,000 chance to drop glass if(ThreadLocalRandom.current().nextInt(1,1000) == 500){ @@ -197,7 +196,6 @@ public enum LootManager { if(randomRune != 0) { itemUUID = randomRune; } - Logger.error("itemUUID set to: " + itemUUID); } else if(ItemBase.getItemBase(itemUUID).getType().equals(Enum.ItemType.CONTRACT)){ int randomContract = rollRandomItem(itemTableId); if(randomContract != 0) { @@ -494,7 +492,6 @@ public enum LootManager { public static int rollRandomItem(int itemTable){ int returnedID = ItemTableEntry.getRandomItem(itemTable); - Logger.error("Received ItemBase ID: " + returnedID); return returnedID; } } diff --git a/src/engine/loot/ItemTableEntry.java b/src/engine/loot/ItemTableEntry.java index c5d5c539..0e674eb5 100644 --- a/src/engine/loot/ItemTableEntry.java +++ b/src/engine/loot/ItemTableEntry.java @@ -54,8 +54,6 @@ public class ItemTableEntry { if(itemTableEntryList != null){ id = itemTableEntryList.get(ThreadLocalRandom.current().nextInt(0,itemTableEntryList.size() - 1)).cacheID; } - - Logger.error("Rolling Item Table: " + itemTable + "returning itemBase ID: " + id); return id; } }