Browse Source

rune and contract drop rate

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

4
src/engine/gameManager/LootManager.java

@ -575,7 +575,7 @@ public enum LootManager { @@ -575,7 +575,7 @@ public enum LootManager {
MobLoot outItem = new MobLoot(mob, ItemBase.getItemBase(itemUUID), false);
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");
chatMsg.setMessageType(10);
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());
@ -608,7 +608,7 @@ public enum LootManager { @@ -608,7 +608,7 @@ public enum LootManager {
MobLoot outItem = new MobLoot(mob, ItemBase.getItemBase(itemUUID), false);
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");
chatMsg.setMessageType(10);
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());

Loading…
Cancel
Save