fix: 5 disinfection progress per mission until 95 for Technocyte Coda (#2705)
Some checks failed
Build Docker image / docker-amd64 (push) Waiting to run
Build / build (push) Has been cancelled
Build Docker image / docker-arm64 (push) Has been cancelled

Co-authored-by: AlexisinGit <136088944+AlexisinGit@users.noreply.github.com>
Reviewed-on: #2705
Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com>
Co-authored-by: AlexisinGit <alexisingit@noreply.localhost>
Co-committed-by: AlexisinGit <alexisingit@noreply.localhost>
This commit is contained in:
AlexisinGit 2025-08-27 13:05:49 -07:00 committed by Sainan
parent c9cc1fa089
commit 1ade801e7c

View File

@ -1417,9 +1417,12 @@ export const addMissionRewards = async (
if (inventory.Nemesis.Faction == "FC_INFESTATION") {
inventory.Nemesis.MissionCount += 1;
inventory.Nemesis.HenchmenKilled = Math.min(inventory.Nemesis.HenchmenKilled + 5, 95); // 5 progress per mission until 95
inventoryChanges.Nemesis.MissionCount ??= 0;
inventoryChanges.Nemesis.MissionCount += 1;
inventoryChanges.Nemesis.HenchmenKilled ??= 0;
inventoryChanges.Nemesis.HenchmenKilled = inventory.Nemesis.HenchmenKilled;
}
inventoryChanges.Nemesis.InfNodes = inventory.Nemesis.InfNodes;