|
|
@ -575,7 +575,7 @@ public enum LootManager { |
|
|
|
|
|
|
|
|
|
|
|
MobLoot outItem = new MobLoot(mob, ItemBase.getItemBase(itemUUID), false); |
|
|
|
MobLoot outItem = new MobLoot(mob, ItemBase.getItemBase(itemUUID), false); |
|
|
|
if(outItem != null) { |
|
|
|
if(outItem != null) { |
|
|
|
mob.contractCounter = 0; |
|
|
|
mob.contractCounter = ThreadLocalRandom.current().nextInt(200); |
|
|
|
ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " looks like he found something special"); |
|
|
|
ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " looks like he found something special"); |
|
|
|
chatMsg.setMessageType(10); |
|
|
|
chatMsg.setMessageType(10); |
|
|
|
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); |
|
|
|
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); |
|
|
@ -608,7 +608,7 @@ public enum LootManager { |
|
|
|
|
|
|
|
|
|
|
|
MobLoot outItem = new MobLoot(mob, ItemBase.getItemBase(itemUUID), false); |
|
|
|
MobLoot outItem = new MobLoot(mob, ItemBase.getItemBase(itemUUID), false); |
|
|
|
if(outItem != null) { |
|
|
|
if(outItem != null) { |
|
|
|
mob.runeCounter = 0; |
|
|
|
mob.runeCounter = ThreadLocalRandom.current().nextInt(200); |
|
|
|
ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " looks like he found something special"); |
|
|
|
ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " looks like he found something special"); |
|
|
|
chatMsg.setMessageType(10); |
|
|
|
chatMsg.setMessageType(10); |
|
|
|
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); |
|
|
|
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); |
|
|
|