Browse Source

disc fix

lakebane-master
FatBoy-DOTC 7 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 {
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID()); chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());
DispatchMessage.dispatchMsgToAll(chatMsg); DispatchMessage.dispatchMsgToAll(chatMsg);
} }
if (ib.isDiscRune() && mob.level < 60){ if (ib.isDiscRune() && mob.level < 80){
if(Mob.disciplineDroppers.contains(mob) == false){ if(Mob.disciplineDroppers.contains(mob) == false){
Mob.disciplineDroppers.add(mob); Mob.disciplineDroppers.add(mob);
} }
@ -460,10 +460,13 @@ public enum LootManager {
int chance = 25; int chance = 25;
if(ItemBase.getItemBase(bse.itemBase).isDiscRune() == false) if(ItemBase.getItemBase(bse.itemBase).isDiscRune() == false) {
chance = (int)bse.dropChance; chance = (int) bse.dropChance;
else }else {
chance = 25; chance = 25;
if(Mob.disciplineDroppers.contains(mob) == false)
Mob.disciplineDroppers.add(mob);
}
//if((bse.itemBase == 3040 || bse.itemBase == 3021) && mob.level < 80){ //if((bse.itemBase == 3040 || bse.itemBase == 3021) && mob.level < 80){
// chance = 100; // chance = 100;

Loading…
Cancel
Save