forked from OpenWF/SpaceNinjaServer
		
	chore: add logging for bounty medallion rewards (#2557)
Reviewed-on: OpenWF/SpaceNinjaServer#2557 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
							
								
									564aa06762
								
							
						
					
					
						commit
						8b4bc114f6
					
				@ -1302,6 +1302,9 @@ export const addMissionRewards = async (
 | 
			
		||||
                    ItemCount: medallionAmount
 | 
			
		||||
                });
 | 
			
		||||
                SyndicateXPItemReward = medallionAmount;
 | 
			
		||||
                logger.debug(
 | 
			
		||||
                    `Giving ${medallionAmount} medallions for the ${rewardInfo.JobStage} stage of the ${rewardInfo.JobTier} tier bounty`
 | 
			
		||||
                );
 | 
			
		||||
            } else {
 | 
			
		||||
                if (rewardInfo.JobTier! >= 0) {
 | 
			
		||||
                    addStanding(
 | 
			
		||||
@ -1347,6 +1350,7 @@ export const addMissionRewards = async (
 | 
			
		||||
                ItemCount: medallionAmount
 | 
			
		||||
            });
 | 
			
		||||
            SyndicateXPItemReward = medallionAmount;
 | 
			
		||||
            logger.debug(`Giving ${medallionAmount} medallions for the ${tier} tier bounty`);
 | 
			
		||||
        } else {
 | 
			
		||||
            let standingAmount = (tier + 1) * 1000;
 | 
			
		||||
            if (tier > 5) standingAmount = 7500; // InfestedLichBounty
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user