forked from OpenWF/SpaceNinjaServer
		
	feat: bounty bonus standing (#2009)
Closes #2007 Reviewed-on: OpenWF/SpaceNinjaServer#2009 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
							
								
									6171b36479
								
							
						
					
					
						commit
						1f3bb88910
					
				@ -1096,7 +1096,7 @@ export const addMissionRewards = async (
 | 
			
		||||
            if (syndicateEntry.Tag === "EntratiSyndicate") {
 | 
			
		||||
                const vault = syndicateEntry.Jobs.find(j => j.locationTag === locationTag);
 | 
			
		||||
                if (vault) currentJob = vault;
 | 
			
		||||
                let medallionAmount = currentJob.xpAmounts[rewardInfo.JobStage];
 | 
			
		||||
                let medallionAmount = Math.floor(currentJob.xpAmounts[rewardInfo.JobStage] / (rewardInfo.Q ? 0.8 : 1));
 | 
			
		||||
 | 
			
		||||
                if (
 | 
			
		||||
                    ["DeimosEndlessAreaDefenseBounty", "DeimosEndlessExcavateBounty", "DeimosEndlessPurifyBounty"].some(
 | 
			
		||||
@ -1119,7 +1119,11 @@ export const addMissionRewards = async (
 | 
			
		||||
            } else {
 | 
			
		||||
                if (rewardInfo.JobTier! >= 0) {
 | 
			
		||||
                    AffiliationMods.push(
 | 
			
		||||
                        addStanding(inventory, syndicateEntry.Tag, currentJob.xpAmounts[rewardInfo.JobStage])
 | 
			
		||||
                        addStanding(
 | 
			
		||||
                            inventory,
 | 
			
		||||
                            syndicateEntry.Tag,
 | 
			
		||||
                            Math.floor(currentJob.xpAmounts[rewardInfo.JobStage] / (rewardInfo.Q ? 0.8 : 1))
 | 
			
		||||
                        )
 | 
			
		||||
                    );
 | 
			
		||||
                } else {
 | 
			
		||||
                    if (jobType.endsWith("Heists/HeistProfitTakerBountyOne") && rewardInfo.JobStage === 2) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user