only pick sortie nodes from sortieTilesets
This commit is contained in:
parent
bbde7b2141
commit
b981a8fcc9
@ -273,14 +273,7 @@ const pushSortieIfRelevant = (worldState: IWorldState, day: number): void => {
|
||||
if (
|
||||
sortieFactionToSystemIndexes[sortieBossToFaction[boss]].includes(value.systemIndex) &&
|
||||
sortieFactionToFactionIndexes[sortieBossToFaction[boss]].includes(value.factionIndex!) &&
|
||||
!isArchwingMission(value) &&
|
||||
value.missionIndex != 0 && // Exclude MT_ASSASSINATION
|
||||
value.missionIndex != 10 && // Exclude MT_PVP (for relays)
|
||||
value.missionIndex != 21 && // Exclude MT_PURIFY
|
||||
value.missionIndex != 22 && // Exclude MT_ARENA
|
||||
value.missionIndex != 23 && // Exclude MT_JUNCTION
|
||||
(value.missionIndex != 28 || value.systemIndex == 2) && // MT_LANDSCAPE only on Earth
|
||||
value.missionIndex < 29
|
||||
key in sortieTilesets
|
||||
) {
|
||||
if (!availableMissionIndexes.includes(value.missionIndex)) {
|
||||
availableMissionIndexes.push(value.missionIndex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user