forked from MagicBane/Server
LootManager cleanup + say message for mobs calling for help
This commit is contained in:
@@ -112,7 +112,7 @@ public class LootManager {
|
||||
break;
|
||||
case "EQUIP":
|
||||
if (ThreadLocalRandom.current().nextInt(100) <= (bse.dropChance * multiplier) || !fromDeath) {
|
||||
//early exit, failed to hit minimum chance roll OR booty wasn't generated form mob's death
|
||||
//early exit, failed to hit minimum chance roll OR booty wasn't generated from mob's death
|
||||
break;
|
||||
}
|
||||
MobLoot equipToAdd = new MobLoot(mob, ItemBase.getItemBase(bse.itemBase), true);
|
||||
@@ -334,4 +334,4 @@ public class LootManager {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user