diff --git a/project/assets/configs/bot.json b/project/assets/configs/bot.json index 36a1644f..d41088dc 100644 --- a/project/assets/configs/bot.json +++ b/project/assets/configs/bot.json @@ -261,7 +261,7 @@ "test": 4 }, "chanceAssaultScavHasPlayerScavName": 10, - "secureContainerAmmoStackCount": 15, + "secureContainerAmmoStackCount": 20, "revenge": { "assault": ["assault", "marksman", "gifter"], "marksman": ["assault", "marksman", "gifter"] diff --git a/project/src/generators/BotWeaponGenerator.ts b/project/src/generators/BotWeaponGenerator.ts index 1faacf6a..2e7f3e3d 100644 --- a/project/src/generators/BotWeaponGenerator.ts +++ b/project/src/generators/BotWeaponGenerator.ts @@ -350,7 +350,7 @@ export class BotWeaponGenerator this.inventoryMagGenComponents.find(v => v.canHandleInventoryMagGen(inventoryMagGenModel)).process(inventoryMagGenModel); // Add x stacks of bullets to SecuredContainer (bots use a magic mag packing skill to reload instantly) - this.addAmmoToSecureContainer(this.botConfig.secureContainerAmmoStackCount, generatedWeaponResult.chosenAmmoTpl, 999, inventory); + this.addAmmoToSecureContainer(this.botConfig.secureContainerAmmoStackCount, generatedWeaponResult.chosenAmmoTpl, ammoTemplate._props.StackMaxSize, inventory); } /**