feat: Arcana Isolation Vault rewards #2276
@ -1227,9 +1227,11 @@ export const addMissionRewards = async (
 | 
				
			|||||||
                    ].some(ending => jobType.endsWith(ending))
 | 
					                    ].some(ending => jobType.endsWith(ending))
 | 
				
			||||||
                ) {
 | 
					                ) {
 | 
				
			||||||
                    const vault = syndicateEntry.Jobs.find(j => j.locationTag == rewardInfo.jobId!.split("_").at(-1));
 | 
					                    const vault = syndicateEntry.Jobs.find(j => j.locationTag == rewardInfo.jobId!.split("_").at(-1));
 | 
				
			||||||
                    if (vault) currentJob = vault;
 | 
					                    if (vault) {
 | 
				
			||||||
                    if (jobType.endsWith("VaultBounty")) {
 | 
					                        currentJob = vault;
 | 
				
			||||||
                        currentJob.xpAmounts = [currentJob.xpAmounts.reduce((partialSum, a) => partialSum + a, 0)];
 | 
					                        if (jobType.endsWith("VaultBounty")) {
 | 
				
			||||||
 | 
					                            currentJob.xpAmounts = [currentJob.xpAmounts.reduce((partialSum, a) => partialSum + a, 0)];
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                let medallionAmount = Math.floor(
 | 
					                let medallionAmount = Math.floor(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user