From 045840ec54eef3d0decdeee0a7f2c527c81b8ee3 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 31 Mar 2023 10:05:13 -0400 Subject: [PATCH] Last vestige of FidalityID garbage and raw cache files removed. --- src/engine/gameManager/MaintenanceManager.java | 2 +- src/engine/objects/Mob.java | 1 - src/engine/objects/MobLoot.java | 13 ------------- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/engine/gameManager/MaintenanceManager.java b/src/engine/gameManager/MaintenanceManager.java index f54a904b..9fb42d41 100644 --- a/src/engine/gameManager/MaintenanceManager.java +++ b/src/engine/gameManager/MaintenanceManager.java @@ -79,7 +79,7 @@ public enum MaintenanceManager { Building building = (Building) gameObject; - // No Maintenance on fidelity structures + // No maintenance on NPC owned buildings (Cache loaded) if (building.getProtectionState() == Enum.ProtectionState.NPC) continue; diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index 9b726b8c..9d8a7268 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1277,7 +1277,6 @@ public class Mob extends AbstractIntelligenceAgent { if (chance <= me.getDropChance()) { MobLoot ml = new MobLoot(this, me.getItemBase(), false); - ml.setFidelityEquipID(me.getObjectUUID()); this.charItemManager.addItemToInventory(ml); } } diff --git a/src/engine/objects/MobLoot.java b/src/engine/objects/MobLoot.java index 2a9c18ba..4f192888 100644 --- a/src/engine/objects/MobLoot.java +++ b/src/engine/objects/MobLoot.java @@ -34,9 +34,6 @@ public final class MobLoot extends Item { private String prefix = ""; private String suffix = ""; - private int fidelityEquipID = 0; - - /** * Create a new MobLoot. * Do not use this to create Gold. @@ -395,14 +392,4 @@ public final class MobLoot extends Item { this.suffix = suffix; } - public int getFidelityEquipID() { - return fidelityEquipID; - } - - public void setFidelityEquipID(int fidelityEquipID) { - this.fidelityEquipID = fidelityEquipID; - } - - - }