Add clarifying comment
This commit is contained in:
parent
7958ef8337
commit
567dc6e289
@ -362,6 +362,7 @@ export class BotLootGenerator
|
||||
// return true, we are over limit
|
||||
if (limitCount[idToCheckFor] > itemSpawnLimits[idToCheckFor])
|
||||
{
|
||||
// Prevent edge-case of small loot pools and code tries to max-limit-reached item over and over
|
||||
if (limitCount[idToCheckFor] > itemSpawnLimits[idToCheckFor] * 10)
|
||||
{
|
||||
this.logger.warning(this.localisationService.getText("bot-item_spawn_limit_reached_skipping_item", {botRole: botRole, itemName: itemTemplate._name, attempts: limitCount[idToCheckFor]}));
|
||||
|
Loading…
Reference in New Issue
Block a user