log when refreshing jobs
All checks were successful
Build / build (push) Successful in 40s
Build / build (pull_request) Successful in 1m19s

This commit is contained in:
Sainan 2025-04-11 00:44:50 +02:00
parent dbca7e555e
commit d2585f5b09

View File

@ -322,6 +322,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
for (const syndicateInfo of worldState.SyndicateMissions) { for (const syndicateInfo of worldState.SyndicateMissions) {
if (syndicateInfo.Jobs && syndicateInfo.Seed != bountyCycle) { if (syndicateInfo.Jobs && syndicateInfo.Seed != bountyCycle) {
syndicateInfo.Seed = bountyCycle; syndicateInfo.Seed = bountyCycle;
logger.debug(`refreshing jobs for ${syndicateInfo.Tag}`);
const rng = new CRng(bountyCycle); const rng = new CRng(bountyCycle);
const table = String.fromCharCode(65 + ((bountyCycle - 1) % 3)); const table = String.fromCharCode(65 + ((bountyCycle - 1) % 3));
const vaultTable = String.fromCharCode(65 + ((bountyCycle - 2) % 3)); const vaultTable = String.fromCharCode(65 + ((bountyCycle - 2) % 3));