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

XFESpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/XFESpaceNinjaServer

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
AlexisinGit <alexisingit@noreply.localhost>
提交于

代码差异

1 个文件 +3 -0
Modified src/services/missionInventoryUpdateService.ts +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;