fix: don't give droptable rewards for non-assassination sortie missions (#1855)
Closes #1835 Reviewed-on: #1855 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
parent
4a6a5ea9cc
commit
48eefd8db1
@ -1283,6 +1283,9 @@ function getRandomMissionDrops(
|
|||||||
// Invasion assassination has Phorid has the boss who should drop Nyx parts
|
// 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
|
// 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"];
|
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 {
|
} else {
|
||||||
rewardManifests = region.rewardManifests;
|
rewardManifests = region.rewardManifests;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user