tweak
This commit is contained in:
@@ -286,11 +286,9 @@ public enum LootManager {
|
||||
|
||||
//determine and add gold to mob inventory
|
||||
|
||||
int high = bse.highGold;
|
||||
int low = bse.lowGold;
|
||||
int gold = ThreadLocalRandom.current().nextInt(low, high + 1);
|
||||
|
||||
gold = (int) (gold * NORMAL_GOLD_RATE);
|
||||
int high = (int)(bse.highGold * NORMAL_GOLD_RATE);
|
||||
int low = (int)(bse.lowGold * NORMAL_GOLD_RATE);
|
||||
int gold = ThreadLocalRandom.current().nextInt(low, high);
|
||||
|
||||
if (gold > 0) {
|
||||
MobLoot goldAmount = new MobLoot(mob, gold);
|
||||
|
||||
Reference in New Issue
Block a user