Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV

This commit is contained in:
Dev 2024-11-20 09:49:50 +00:00
commit 1aecd7680e
3 changed files with 16 additions and 1 deletions

View File

@ -68,7 +68,15 @@
"5e2aedd986f7746d404f3aa4"
],
"craftTimeSeconds": 43260
}
},
"655c663a6689c676ce57af85": { "rewardTpls": ["5c0e655586f774045612eeb2"], "craftTimeSeconds": 3960 },
"5aa2b986e5b5b00014028f4c": { "rewardTpls": ["62a091170b9d3c46de5b6cf2"], "craftTimeSeconds": 3960 },
"5c13cd2486f774072c757944": { "rewardTpls": ["62a0a098de7ac8199358053b"], "craftTimeSeconds": 3960 },
"5a0c27731526d80618476ac4": {
"rewardTpls": ["5d1b392c86f77425243e98fe", "5d1b392c86f77425243e98fe"],
"craftTimeSeconds": 3960
},
"5c0530ee86f774697952d952": { "rewardTpls": ["6389c8c5dbfd5e4b95197e6b"], "craftTimeSeconds": 39960 }
},
"directRewardStackSize": {
"exampleParentId": { "min": 1000, "max": 50000 }

View File

@ -270,6 +270,12 @@ export class LocationLifecycleService {
return locationBaseClone;
}
// If new spawn system is enabled, clear the spawn waves
if (locationBaseClone.NewSpawn)
{
locationBaseClone.waves = [];
}
// We only need the base data
if (!generateLoot) {
return locationBaseClone;

View File

@ -296,6 +296,7 @@ export class PostDbLoadService {
}
map.base.BotMaxPvE = this.botConfig.maxBotCap[locationKey];
map.base.BotMax = this.botConfig.maxBotCap[locationKey];
// make values no larger than 30 secs
map.base.BotStart = Math.min(map.base.BotStart, 30);