Heists/HeistProfitTakerBountyOne
: give standing only on last stage
All checks were successful
Build / build (pull_request) Successful in 1m26s
All checks were successful
Build / build (pull_request) Successful in 1m26s
This commit is contained in:
parent
3bcf719c81
commit
ed3d836417
@ -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 ****
|
||||
@ -57,7 +58,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
|
||||
|
||||
if (
|
||||
missionReport.MissionStatus === "GS_SUCCESS" ||
|
||||
(missionReport.RewardInfo && (missionReport.RewardInfo.jobId || missionReport.RewardInfo.challengeMissionId))
|
||||
ExportRegions[missionReport.Missions!.Tag].missionIndex === 28
|
||||
) {
|
||||
await inventory.save();
|
||||
const inventoryResponse = await getInventoryResponse(inventory, true);
|
||||
|
@ -751,10 +751,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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user