Browse Source

non vorg droppers cannot drop vorg items

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
d186a96796
  1. 4
      src/engine/gameManager/LootManager.java

4
src/engine/gameManager/LootManager.java

@ -510,6 +510,10 @@ public enum LootManager { @@ -510,6 +510,10 @@ public enum LootManager {
if (name.contains("vorgrim legionnaire's") || name.contains("vorgrim auxiliary's") ||name.contains("bellugh nuathal") || name.contains("crimson circle"))
isVorg = true;
if(isVorg && !mob.isDropper){
continue;
}
float equipmentRoll = ThreadLocalRandom.current().nextInt(1, 100 + 1);
float dropChance = me.getDropChance() * 100;
ItemBase itemBase = me.getItemBase();

Loading…
Cancel
Save