Browse Source

Last vestige of FidalityID garbage and raw cache files removed.

master
MagicBot 2 years ago
parent
commit
045840ec54
  1. 2
      src/engine/gameManager/MaintenanceManager.java
  2. 1
      src/engine/objects/Mob.java
  3. 13
      src/engine/objects/MobLoot.java

2
src/engine/gameManager/MaintenanceManager.java

@ -79,7 +79,7 @@ public enum MaintenanceManager { @@ -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;

1
src/engine/objects/Mob.java

@ -1277,7 +1277,6 @@ public class Mob extends AbstractIntelligenceAgent { @@ -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);
}
}

13
src/engine/objects/MobLoot.java

@ -34,9 +34,6 @@ public final class MobLoot extends Item { @@ -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 { @@ -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;
}
}

Loading…
Cancel
Save