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

SpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/SpaceNinjaServer

fix: don't give droptable rewards for non-assassination sortie missions (#1855)

Closes #1835 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1855 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

48eefd8d
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -0
Modified src/services/missionInventoryUpdateService.ts +3 -0
@@ -1283,6 +1283,9 @@ function getRandomMissionDrops(
1283 1283 // Invasion assassination has Phorid has the boss who should drop Nyx parts
1284 1284 // TODO: Check that the invasion faction is indeed FC_INFESTATION once the Invasions in worldState are more dynamic
1285 1285 rewardManifests = ["/Lotus/Types/Game/MissionDecks/BossMissionRewards/NyxRewards"];
1286 } else if (RewardInfo.sortieId && region.missionIndex != 0) {
1287 // 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.
1288 rewardManifests = [];
1286 1289 } else {
1287 1290 rewardManifests = region.rewardManifests;
1288 1291 }