feat: Varzia (Prime Resurgence) rotation #2390
@ -1483,17 +1483,15 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
ScheduleInfo: []
|
ScheduleInfo: []
|
||||||
};
|
};
|
||||||
worldState.PrimeVaultTraders.push(pt);
|
worldState.PrimeVaultTraders.push(pt);
|
||||||
if (isBeforeNextExpectedWorldStateRefresh(timeMs, weekStart)) {
|
const rotation = config.worldState?.varziaOverride || getVarziaRotation(week);
|
||||||
const rotation = config.worldState?.varziaOverride || getVarziaRotation(week);
|
pt.Manifest = config.worldState?.varziaFullyStocked ? getAllVarziaManifests() : getVarziaManifest(rotation);
|
||||||
pt.Manifest = config.worldState?.varziaFullyStocked ? getAllVarziaManifests() : getVarziaManifest(rotation);
|
if (config.worldState?.varziaOverride || config.worldState?.varziaFullyStocked) {
|
||||||
if (config.worldState?.varziaOverride || config.worldState?.varziaFullyStocked) {
|
pt.Expiry = { $date: { $numberLong: "2000000000000" } };
|
||||||
pt.Expiry = { $date: { $numberLong: "2000000000000" } };
|
} else {
|
||||||
} else {
|
pt.ScheduleInfo.push({
|
||||||
pt.ScheduleInfo.push({
|
Expiry: { $date: { $numberLong: (weekEnd + unixTimesInMs.week).toString() } },
|
||||||
Expiry: { $date: { $numberLong: (weekEnd + unixTimesInMs.week).toString() } },
|
FeaturedItem: getVarziaRotation(week + 1)
|
||||||
FeaturedItem: getVarziaRotation(week + 1)
|
});
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user