forked from OpenWF/SpaceNinjaServer
		
	fix: incorect deimos bounty medallion reward (#2524)
Reviewed-on: OpenWF/SpaceNinjaServer#2524 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									b53c4d9125
								
							
						
					
					
						commit
						f8550e9afe
					
				@ -1283,9 +1283,7 @@ export const addMissionRewards = async (
 | 
				
			|||||||
                        }
 | 
					                        }
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                let medallionAmount = Math.floor(
 | 
					                let medallionAmount = Math.floor(currentJob.xpAmounts[rewardInfo.JobStage] / (rewardInfo.Q ? 0.8 : 1));
 | 
				
			||||||
                    Math.min(rewardInfo.JobStage, currentJob.xpAmounts.length - 1) / (rewardInfo.Q ? 0.8 : 1)
 | 
					 | 
				
			||||||
                );
 | 
					 | 
				
			||||||
                if (
 | 
					                if (
 | 
				
			||||||
                    ["DeimosEndlessAreaDefenseBounty", "DeimosEndlessExcavateBounty", "DeimosEndlessPurifyBounty"].some(
 | 
					                    ["DeimosEndlessAreaDefenseBounty", "DeimosEndlessExcavateBounty", "DeimosEndlessPurifyBounty"].some(
 | 
				
			||||||
                        ending => jobType.endsWith(ending)
 | 
					                        ending => jobType.endsWith(ending)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user