From 284302d8cf673367fe76d32c97ed785e9a31a353 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Wed, 1 Oct 2025 10:31:56 +0200 Subject: [PATCH] chore: allow sortie image randomisation for most tilesets --- src/services/worldStateService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/worldStateService.ts b/src/services/worldStateService.ts index 57207050..4ee06990 100644 --- a/src/services/worldStateService.ts +++ b/src/services/worldStateService.ts @@ -361,7 +361,9 @@ export const getSortie = (day: number): ISortie => { Activation: { $date: { $numberLong: dayStart.toString() } }, Expiry: { $date: { $numberLong: dayEnd.toString() } }, Reward: "/Lotus/Types/Game/MissionDecks/SortieRewards", - Seed: 2081, // this seed produces 12 zeroes in a row if asked to pick (0, 1); this way the CorpusIcePlanetTileset image is always index 0, the 'correct' choice. + Seed: selectedNodes.find(x => x.tileset == "CorpusIcePlanetTileset") + ? 2081 // this seed produces 12 zeroes in a row if asked to pick (0, 1); this way the CorpusIcePlanetTileset image is always index 0, the 'correct' choice. + : seed, Boss: boss, Variants: selectedNodes }; -- 2.47.2