Browse Source

disc fix

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
928845a220
  1. 11
      src/engine/gameManager/LootManager.java

11
src/engine/gameManager/LootManager.java

@ -101,7 +101,7 @@ public enum LootManager { @@ -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 { @@ -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;

Loading…
Cancel
Save