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 { getInventory } from "@/src/services/inventoryService";
|
||||||
import { getInventoryResponse } from "./inventoryController";
|
import { getInventoryResponse } from "./inventoryController";
|
||||||
import { logger } from "@/src/utils/logger";
|
import { logger } from "@/src/utils/logger";
|
||||||
|
import { ExportRegions } from "warframe-public-export-plus";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
**** INPUT ****
|
**** INPUT ****
|
||||||
@ -57,7 +58,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
missionReport.MissionStatus === "GS_SUCCESS" ||
|
missionReport.MissionStatus === "GS_SUCCESS" ||
|
||||||
(missionReport.RewardInfo && (missionReport.RewardInfo.jobId || missionReport.RewardInfo.challengeMissionId))
|
ExportRegions[missionReport.Missions!.Tag].missionIndex === 28
|
||||||
) {
|
) {
|
||||||
await inventory.save();
|
await inventory.save();
|
||||||
const inventoryResponse = await getInventoryResponse(inventory, true);
|
const inventoryResponse = await getInventoryResponse(inventory, true);
|
||||||
|
@ -751,10 +751,12 @@ export const addMissionRewards = async (
|
|||||||
addStanding(inventory, syndicateEntry.Tag, currentJob.xpAmounts[rewardInfo.JobStage])
|
addStanding(inventory, syndicateEntry.Tag, currentJob.xpAmounts[rewardInfo.JobStage])
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
if (jobType.endsWith("Heists/HeistProfitTakerBountyOne") && rewardInfo.JobStage === 2) {
|
||||||
|
AffiliationMods.push(addStanding(inventory, syndicateEntry.Tag, 1000));
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
[
|
[
|
||||||
"Hunts/TeralystHunt",
|
"Hunts/TeralystHunt",
|
||||||
"Heists/HeistProfitTakerBountyOne",
|
|
||||||
"Heists/HeistProfitTakerBountyTwo",
|
"Heists/HeistProfitTakerBountyTwo",
|
||||||
"Heists/HeistProfitTakerBountyThree",
|
"Heists/HeistProfitTakerBountyThree",
|
||||||
"Heists/HeistProfitTakerBountyFour",
|
"Heists/HeistProfitTakerBountyFour",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user