Browse Source

Merge remote-tracking branch 'origin/bugfix-ITEM-chance'

master
MagicBot 1 year ago
parent
commit
be7156e6f6
  1. 4
      src/engine/loot/LootManager.java

4
src/engine/loot/LootManager.java

@ -97,7 +97,6 @@ public class LootManager { @@ -97,7 +97,6 @@ public class LootManager {
if (generalItemTables.containsKey(bse.lootTable + 1)) {
GenerateHotzoneLootDrop(mob, bse, multiplier);
}
RollForGlass(mob);
}
if(mob.level > 80){
RollForGlass(mob);
@ -108,6 +107,9 @@ public class LootManager { @@ -108,6 +107,9 @@ public class LootManager {
break;
}
}
if(inHotzone){
RollForGlass(mob);
}
}
public static MobLoot getGenTableItem(int genTableID, Mob mob) {
if (genTableID == 0 || mob == null || generalItemTables.containsKey(genTableID) == false) {

Loading…
Cancel
Save