Browse Source

mob resist issue

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
4e6e56350c
  1. 6
      src/engine/gameManager/LootManager.java

6
src/engine/gameManager/LootManager.java

@ -187,6 +187,7 @@ public enum LootManager { @@ -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 { @@ -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());

Loading…
Cancel
Save