This commit is contained in:
Dev 2024-02-10 14:30:21 +00:00
commit fab00ad11b

View File

@ -119,6 +119,7 @@ export class PlayerScavGenerator
scavData.TaskConditionCounters = existingScavDataClone.TaskConditionCounters ?? {}; scavData.TaskConditionCounters = existingScavDataClone.TaskConditionCounters ?? {};
scavData.Notes = existingScavDataClone.Notes ?? { Notes: [] }; scavData.Notes = existingScavDataClone.Notes ?? { Notes: [] };
scavData.WishList = existingScavDataClone.WishList ?? []; scavData.WishList = existingScavDataClone.WishList ?? [];
scavData.Encyclopedia = existingScavDataClone.Encyclopedia ?? {};
// Add an extra labs card to pscav backpack based on config chance // Add an extra labs card to pscav backpack based on config chance
if (this.randomUtil.getChance100(playerScavKarmaSettings.labsAccessCardChancePercent)) if (this.randomUtil.getChance100(playerScavKarmaSettings.labsAccessCardChancePercent))