返回提交历史
Modified
src/services/worldStateService.ts
+3
-1
XFEstudio/SpaceNinjaServer
chore: allow sortie image randomisation for most tilesets (#2834)
This should reduce the impact while we investigate #2833 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2834 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
8b3ee4b4
代码差异
1 个文件
+3
-1
@@ -361,7 +361,9 @@ export const getSortie = (day: number): ISortie => {
361
361
Activation: { $date: { $numberLong: dayStart.toString() } },
362
362
Expiry: { $date: { $numberLong: dayEnd.toString() } },
363
363
Reward: "/Lotus/Types/Game/MissionDecks/SortieRewards",
364
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.
364
Seed: selectedNodes.find(x => x.tileset == "CorpusIcePlanetTileset")
365
? 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.
366
: seed,
365
367
Boss: boss,
366
368
Variants: selectedNodes
367
369
};