Update missionInventoryUpdateService.ts
All checks were successful
Build / build (pull_request) Successful in 54s
All checks were successful
Build / build (pull_request) Successful in 54s
This commit is contained in:
parent
c5c1b55983
commit
a48813ba77
@ -1227,9 +1227,11 @@ export const addMissionRewards = async (
|
||||
].some(ending => jobType.endsWith(ending))
|
||||
) {
|
||||
const vault = syndicateEntry.Jobs.find(j => j.locationTag == rewardInfo.jobId!.split("_").at(-1));
|
||||
if (vault) currentJob = vault;
|
||||
if (jobType.endsWith("VaultBounty")) {
|
||||
currentJob.xpAmounts = [currentJob.xpAmounts.reduce((partialSum, a) => partialSum + a, 0)];
|
||||
if (vault) {
|
||||
currentJob = vault;
|
||||
if (jobType.endsWith("VaultBounty")) {
|
||||
currentJob.xpAmounts = [currentJob.xpAmounts.reduce((partialSum, a) => partialSum + a, 0)];
|
||||
}
|
||||
}
|
||||
}
|
||||
let medallionAmount = Math.floor(
|
||||
|
Loading…
x
Reference in New Issue
Block a user