Browse Source

Removed initial bootySet roll.

master
MagicBot 1 year ago
parent
commit
31e32cfcf4
  1. 7
      src/engine/gameManager/LootManager.java

7
src/engine/gameManager/LootManager.java

@ -254,13 +254,6 @@ public enum LootManager {
public static void GenerateGoldDrop(Mob mob, BootySetEntry bse, Boolean inHotzone) { public static void GenerateGoldDrop(Mob mob, BootySetEntry bse, Boolean inHotzone) {
int chanceRoll = ThreadLocalRandom.current().nextInt(99) + 1;
//early exit, failed to hit minimum chance roll OR booty was generated from mob's death
if (chanceRoll > bse.dropChance)
return;
//determine and add gold to mob inventory //determine and add gold to mob inventory
int high = bse.highGold; int high = bse.highGold;

Loading…
Cancel
Save