chore: address eslint warnings
This commit is contained in:
		
							parent
							
								
									3f0a2bec48
								
							
						
					
					
						commit
						28d7ca8ca0
					
				@ -1015,6 +1015,7 @@ function getRandomMissionDrops(RewardInfo: IRewardInfo, tierOverride: number | u
 | 
			
		||||
                            (RewardInfo.JobStage === job.xpAmounts.length - 1 || job.isVault) &&
 | 
			
		||||
                            !isEndlessJob
 | 
			
		||||
                        ) {
 | 
			
		||||
                            // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
 | 
			
		||||
                            if (ExportRewards[job.rewards]) {
 | 
			
		||||
                                rewardManifests.push(job.rewards);
 | 
			
		||||
                                rotations.push(ExportRewards[job.rewards].length - 1);
 | 
			
		||||
@ -1076,6 +1077,7 @@ function getRandomMissionDrops(RewardInfo: IRewardInfo, tierOverride: number | u
 | 
			
		||||
        const rng = new SRng(BigInt(RewardInfo.rewardSeed ?? generateRewardSeed()) ^ 0xffffffffffffffffn);
 | 
			
		||||
        rewardManifests.forEach(name => {
 | 
			
		||||
            const table = ExportRewards[name];
 | 
			
		||||
            // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
 | 
			
		||||
            if (!table) {
 | 
			
		||||
                logger.error(`unknown droptable: ${name}`);
 | 
			
		||||
                return;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user