返回提交历史
Modified
src/services/worldStateService.ts
+4
-1
XFEstudio/XFESpaceNinjaServer
fix: exclude capture as a mission type for sorties (#1909)
Closes #1865 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1909 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
ab9cc685
代码差异
1 个文件
+4
-1
@@ -269,7 +269,10 @@ const pushSortieIfRelevant = (worldState: IWorldState, day: number): void => {
269
269
sortieFactionToFactionIndexes[sortieBossToFaction[boss]].includes(value.factionIndex!) &&
270
270
key in sortieTilesets
271
271
) {
272
if (!availableMissionIndexes.includes(value.missionIndex)) {
272
if (
273
value.missionIndex != 5 && // Sorties do not have capture missions
274
!availableMissionIndexes.includes(value.missionIndex)
275
) {
273
276
availableMissionIndexes.push(value.missionIndex);
274
277
}
275
278
nodes.push(key);