forked from MagicBane/Server
Removed initial bootySet roll.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user