diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index a62a13af..d5ac27c0 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -108,11 +108,6 @@ public enum LootManager { mob.level = 60; mob.healthMax = 7500; mob.setHealth(7500); - if(mob.firstSpawn) { - mob.killCharacter("first spawn"); - mob.firstSpawn = false; - mob.despawn(); - } ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " in " + mob.getParentZone().getName() + " may have found the " + ib.getName() + ". Are you tough enough to take it?"); chatMsg.setMessageType(10); chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index bf1c924b..a635b525 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -1746,6 +1746,17 @@ public class Mob extends AbstractIntelligenceAgent { this.level = 65; } } + + for(Item loot : this.charItemManager.getInventory()){ + if(loot.getItemBase().isDiscRune() && this.level < 80){ + if(this.firstSpawn) { + this.killCharacter("first spawn"); + this.firstSpawn = false; + if(this.despawned == false) + this.despawn(); + } + } + } } @Override