fix up
Some checks failed
Build / build (pull_request) Failing after 56s

This commit is contained in:
AlexisinGit 2025-08-31 00:27:55 +08:00
parent 9c77b38bb4
commit 859278df37

View File

@ -1463,7 +1463,9 @@ 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
let antivirusGain = 5;
antivirusGain *= inventory.nemesisHenchmenKillsMultiplierInfestation ?? 1;
inventory.Nemesis.HenchmenKilled = Math.min(inventory.Nemesis.HenchmenKilled + antivirusGain, 95); // 5 progress per mission until 95
inventoryChanges.Nemesis.MissionCount ??= 0;
inventoryChanges.Nemesis.MissionCount += 1;