Browse Source

fixed insane glass drops

master
FatBoy-DOTC 1 year ago
parent
commit
be84b85b69
  1. 4
      src/engine/loot/LootManager.java

4
src/engine/loot/LootManager.java

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

Loading…
Cancel
Save