返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+3
-0
XFEstudio/SpaceNinjaServer
fix: 5 disinfection progress per mission until 95 for Technocyte Coda (#2705)
Co-authored-by: AlexisinGit <136088944+AlexisinGit@users.noreply.github.com> Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2705 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AlexisinGit <alexisingit@noreply.localhost> Co-committed-by: AlexisinGit <alexisingit@noreply.localhost>
1ade801e
代码差异
1 个文件
+3
-0
@@ -1417,9 +1417,12 @@ export const addMissionRewards = async (
1417
1417
1418
1418
if (inventory.Nemesis.Faction == "FC_INFESTATION") {
1419
1419
inventory.Nemesis.MissionCount += 1;
1420
inventory.Nemesis.HenchmenKilled = Math.min(inventory.Nemesis.HenchmenKilled + 5, 95); // 5 progress per mission until 95
1420
1421
1421
1422
inventoryChanges.Nemesis.MissionCount ??= 0;
1422
1423
inventoryChanges.Nemesis.MissionCount += 1;
1424
inventoryChanges.Nemesis.HenchmenKilled ??= 0;
1425
inventoryChanges.Nemesis.HenchmenKilled = inventory.Nemesis.HenchmenKilled;
1423
1426
}
1424
1427
1425
1428
inventoryChanges.Nemesis.InfNodes = inventory.Nemesis.InfNodes;