From 4e6e56350c75aae8a165cee0a3c12c6500eb5229 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 11 May 2024 18:57:20 -0500 Subject: [PATCH] mob resist issue --- src/engine/gameManager/LootManager.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index 2db1d221..fa9c2587 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -187,6 +187,7 @@ public enum LootManager { chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); DispatchMessage.dispatchMsgToAll(chatMsg); mob.getCharItemManager().addItemToInventory(specialDrop); + mob.setResists(new Resists("Dropper")); } } @@ -440,10 +441,7 @@ public enum LootManager { if(!Mob.disciplineDroppers.contains(mob)) Mob.disciplineDroppers.add(mob); - //mob.level = 65; - //mob.healthMax = 7500; - //mob.setHealth(7500); - //mob.setResists(new Resists("Dropper")); + mob.setResists(new Resists("Dropper")); ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " in " + mob.getParentZone().getName() + " has found the " + ItemBase.getItemBase(bse.itemBase).getName() + ". Are you tough enough to take it?"); chatMsg.setMessageType(10); chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());