From 928845a22011bfda88b8bd1b37b407dd38d2a96c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 22 Apr 2024 21:49:15 -0500 Subject: [PATCH] disc fix --- src/engine/gameManager/LootManager.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index d5ac27c0..6ee12fbb 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -101,7 +101,7 @@ public enum LootManager { chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); DispatchMessage.dispatchMsgToAll(chatMsg); } - if (ib.isDiscRune() && mob.level < 60){ + if (ib.isDiscRune() && mob.level < 80){ if(Mob.disciplineDroppers.contains(mob) == false){ Mob.disciplineDroppers.add(mob); } @@ -460,10 +460,13 @@ public enum LootManager { int chance = 25; - if(ItemBase.getItemBase(bse.itemBase).isDiscRune() == false) - chance = (int)bse.dropChance; - else + if(ItemBase.getItemBase(bse.itemBase).isDiscRune() == false) { + chance = (int) bse.dropChance; + }else { chance = 25; + if(Mob.disciplineDroppers.contains(mob) == false) + Mob.disciplineDroppers.add(mob); + } //if((bse.itemBase == 3040 || bse.itemBase == 3021) && mob.level < 80){ // chance = 100;