mob resist issue

This commit is contained in:
2024-05-11 18:57:20 -05:00
parent a33d650738
commit 4e6e56350c
+2 -4
View File
@@ -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());