Update missionInventoryUpdateService.ts
All checks were successful
Build / build (pull_request) Successful in 57s

This commit is contained in:
AMelonInsideLemon 2025-08-09 02:10:40 +02:00
parent 4606980d7f
commit 19c2e85c44

View File

@ -1333,7 +1333,7 @@ export const addMissionRewards = async (
`Giving ${medallionAmount} medallions for the ${rewardInfo.JobStage} stage of the ${rewardInfo.JobTier} tier bounty`
);
} else {
const specialСase = [
const specialCase = [
{ endings: ["Heists/HeistProfitTakerBountyOne"], stage: 2, amount: 1000 },
{ endings: ["Hunts/AllTeralystsHunt"], stage: 2, amount: 5000 },
{
@ -1347,7 +1347,7 @@ export const addMissionRewards = async (
amount: 1000
}
];
const specialCaseReward = specialСase.find(
const specialCaseReward = specialCase.find(
rule =>
rule.endings.some(e => jobType.endsWith(e)) &&
(rule.stage === undefined || rewardInfo.JobStage === rule.stage)