XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix: wrong Sortie tile icon for CorpusIcePlanetTilesetCaves (#3396)

Current Sortie 1 shows Infested Ship despite being Ice Planet. Not sure if this is the correct way but this seems to fix it. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3396 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: Animan8000 <187183497+Veniman8000@users.noreply.github.com> Co-committed-by: Animan8000 <187183497+Veniman8000@users.noreply.github.com>

04f06143
Animan8000 <187183497+Veniman8000@users.noreply.github.com>
提交于

代码差异

1 个文件 +4 -2
Modified src/services/worldStateService.ts +4 -2
@@ -622,8 +622,10 @@ export const getSortie = (day: number): ISortie => {
622 622 Activation: { $date: { $numberLong: dayStart.toString() } },
623 623 Expiry: { $date: { $numberLong: dayEnd.toString() } },
624 624 Reward: "/Lotus/Types/Game/MissionDecks/SortieRewards",
625 Seed: selectedNodes.find(x => x.tileset == "CorpusIcePlanetTileset")
626 ? 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.
625 Seed: selectedNodes.find(
626 x => x.tileset == "CorpusIcePlanetTileset" || x.tileset == "CorpusIcePlanetTilesetCaves"
627 )
628 ? 2081 // this seed produces 12 zeroes in a row if asked to pick (0, 1); this way the CorpusIcePlanetTileset/CorpusIcePlanetTilesetCaves image is always index 0, the 'correct' choice.
627 629 : seed,
628 630 Boss: boss,
629 631 Variants: selectedNodes