Update missionInventoryUpdateService.ts
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build / build (pull_request) Successful in 57s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build / build (pull_request) Successful in 57s
				
			This commit is contained in:
		
							parent
							
								
									4606980d7f
								
							
						
					
					
						commit
						19c2e85c44
					
				@ -1333,7 +1333,7 @@ export const addMissionRewards = async (
 | 
				
			|||||||
                    `Giving ${medallionAmount} medallions for the ${rewardInfo.JobStage} stage of the ${rewardInfo.JobTier} tier bounty`
 | 
					                    `Giving ${medallionAmount} medallions for the ${rewardInfo.JobStage} stage of the ${rewardInfo.JobTier} tier bounty`
 | 
				
			||||||
                );
 | 
					                );
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
                const specialСase = [
 | 
					                const specialCase = [
 | 
				
			||||||
                    { endings: ["Heists/HeistProfitTakerBountyOne"], stage: 2, amount: 1000 },
 | 
					                    { endings: ["Heists/HeistProfitTakerBountyOne"], stage: 2, amount: 1000 },
 | 
				
			||||||
                    { endings: ["Hunts/AllTeralystsHunt"], stage: 2, amount: 5000 },
 | 
					                    { endings: ["Hunts/AllTeralystsHunt"], stage: 2, amount: 5000 },
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
@ -1347,7 +1347,7 @@ export const addMissionRewards = async (
 | 
				
			|||||||
                        amount: 1000
 | 
					                        amount: 1000
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                ];
 | 
					                ];
 | 
				
			||||||
                const specialCaseReward = specialСase.find(
 | 
					                const specialCaseReward = specialCase.find(
 | 
				
			||||||
                    rule =>
 | 
					                    rule =>
 | 
				
			||||||
                        rule.endings.some(e => jobType.endsWith(e)) &&
 | 
					                        rule.endings.some(e => jobType.endsWith(e)) &&
 | 
				
			||||||
                        (rule.stage === undefined || rewardInfo.JobStage === rule.stage)
 | 
					                        (rule.stage === undefined || rewardInfo.JobStage === rule.stage)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user