fix: don't give rewards for non-assassination sortie missions
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
Sainan 2025-04-26 02:02:36 +02:00
parent c7c416c100
commit d1d9b54af4

View File

@ -1277,6 +1277,9 @@ function getRandomMissionDrops(
// Invasion assassination has Phorid has the boss who should drop Nyx parts
// TODO: Check that the invasion faction is indeed FC_INFESTATION once the Invasions in worldState are more dynamic
rewardManifests = ["/Lotus/Types/Game/MissionDecks/BossMissionRewards/NyxRewards"];
} else if (RewardInfo.sortieId && region.missionIndex != 0) {
// Sortie mission types differ from the underlying node and hence also don't give rewards from the underlying nodes. Assassinations are an exception to this.
rewardManifests = [];
} else {
rewardManifests = region.rewardManifests;
}