Browse Source

investigate vorg LA hood drop never occurring

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
349b88f142
  1. 8
      src/engine/gameManager/LootManager.java

8
src/engine/gameManager/LootManager.java

@ -360,16 +360,16 @@ public enum LootManager {
if(genericIB.isVorg()){ if(genericIB.isVorg()){
if(genericIB.isClothArmor()){ if(genericIB.isClothArmor()){
//get random cloth piece //get random cloth piece
genericIB = ItemBase.getItemBase(vorg_cloth_uuids.get(ThreadLocalRandom.current().nextInt(0,vorg_cloth_uuids.size() - 1))); genericIB = ItemBase.getItemBase(vorg_cloth_uuids.get(ThreadLocalRandom.current().nextInt(1,vorg_cloth_uuids.size()) - 1));
} else if(genericIB.isHeavyArmor()){ } else if(genericIB.isHeavyArmor()){
//get random heavy armor piece //get random heavy armor piece
genericIB = ItemBase.getItemBase(vorg_ha_uuids.get(ThreadLocalRandom.current().nextInt(0,vorg_ha_uuids.size() - 1))); genericIB = ItemBase.getItemBase(vorg_ha_uuids.get(ThreadLocalRandom.current().nextInt(1,vorg_ha_uuids.size()) - 1));
} else if(genericIB.isMediumArmor()){ } else if(genericIB.isMediumArmor()){
//get random medium armor piece //get random medium armor piece
genericIB = ItemBase.getItemBase(vorg_ma_uuids.get(ThreadLocalRandom.current().nextInt(0,vorg_ma_uuids.size() - 1))); genericIB = ItemBase.getItemBase(vorg_ma_uuids.get(ThreadLocalRandom.current().nextInt(1,vorg_ma_uuids.size()) - 1));
} else if(genericIB.isLightArmor()){ } else if(genericIB.isLightArmor()){
//get random light armor piece //get random light armor piece
genericIB = ItemBase.getItemBase(vorg_la_uuids.get(ThreadLocalRandom.current().nextInt(0,vorg_la_uuids.size() - 1))); genericIB = ItemBase.getItemBase(vorg_la_uuids.get(ThreadLocalRandom.current().nextInt(1,vorg_la_uuids.size()) - 1));
} }
mob.spawnTime = ThreadLocalRandom.current().nextInt(300,2700); mob.spawnTime = ThreadLocalRandom.current().nextInt(300,2700);
} }

Loading…
Cancel
Save