chore: allow sortie image randomisation for most tilesets (#2834)
All checks were successful
Build / build (push) Successful in 1m25s
Build Docker image / docker-amd64 (push) Successful in 55s
Build Docker image / docker-arm64 (push) Successful in 1m20s

This should reduce the impact while we investigate #2833

Reviewed-on: #2834
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-10-02 05:27:56 -07:00 committed by Sainan
parent 6e8800f048
commit 8b3ee4b4f5

View File

@ -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
};