From c23b9c705454530054a7dfe259e21b2aacae7315 Mon Sep 17 00:00:00 2001 From: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Date: Fri, 11 Apr 2025 03:40:14 +0200 Subject: [PATCH] `Heists/HeistProfitTakerBountyOne`: give standing only on last stage --- src/controllers/api/missionInventoryUpdateController.ts | 1 + src/services/missionInventoryUpdateService.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/api/missionInventoryUpdateController.ts b/src/controllers/api/missionInventoryUpdateController.ts index 738002fd..17a63d87 100644 --- a/src/controllers/api/missionInventoryUpdateController.ts +++ b/src/controllers/api/missionInventoryUpdateController.ts @@ -6,6 +6,7 @@ import { addMissionInventoryUpdates, addMissionRewards } from "@/src/services/mi import { getInventory } from "@/src/services/inventoryService"; import { getInventoryResponse } from "./inventoryController"; import { logger } from "@/src/utils/logger"; +import { ExportRegions } from "warframe-public-export-plus"; /* **** INPUT **** diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index e0dbb3c2..92c1bc03 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -764,10 +764,12 @@ export const addMissionRewards = async ( addStanding(inventory, syndicateEntry.Tag, currentJob.xpAmounts[rewardInfo.JobStage]) ); } else { + if (jobType.endsWith("Heists/HeistProfitTakerBountyOne") && rewardInfo.JobStage === 2) { + AffiliationMods.push(addStanding(inventory, syndicateEntry.Tag, 1000)); + } if ( [ "Hunts/TeralystHunt", - "Heists/HeistProfitTakerBountyOne", "Heists/HeistProfitTakerBountyTwo", "Heists/HeistProfitTakerBountyThree", "Heists/HeistProfitTakerBountyFour",