Browse Source

mob resist issue

lakebane-master
FatBoy-DOTC 6 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 {
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());
DispatchMessage.dispatchMsgToAll(chatMsg); DispatchMessage.dispatchMsgToAll(chatMsg);
mob.getCharItemManager().addItemToInventory(specialDrop); mob.getCharItemManager().addItemToInventory(specialDrop);
mob.setResists(new Resists("Dropper"));
} }
} }
@ -440,10 +441,7 @@ public enum LootManager {
if(!Mob.disciplineDroppers.contains(mob)) if(!Mob.disciplineDroppers.contains(mob))
Mob.disciplineDroppers.add(mob); Mob.disciplineDroppers.add(mob);
//mob.level = 65; mob.setResists(new Resists("Dropper"));
//mob.healthMax = 7500;
//mob.setHealth(7500);
//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?"); 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.setMessageType(10);
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());

Loading…
Cancel
Save