Revert 999 stack size of ammo in bots secure containers + set secure stack count to 20 instead of 15

This commit is contained in:
Dev 2023-07-26 22:46:19 +01:00
parent 9b729dbbc2
commit 6581896e30
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@
"test": 4 "test": 4
}, },
"chanceAssaultScavHasPlayerScavName": 10, "chanceAssaultScavHasPlayerScavName": 10,
"secureContainerAmmoStackCount": 15, "secureContainerAmmoStackCount": 20,
"revenge": { "revenge": {
"assault": ["assault", "marksman", "gifter"], "assault": ["assault", "marksman", "gifter"],
"marksman": ["assault", "marksman", "gifter"] "marksman": ["assault", "marksman", "gifter"]

View File

@ -350,7 +350,7 @@ export class BotWeaponGenerator
this.inventoryMagGenComponents.find(v => v.canHandleInventoryMagGen(inventoryMagGenModel)).process(inventoryMagGenModel); 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) // 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);
} }
/** /**