forked from OpenWF/SpaceNinjaServer
		
	fix: cap spy rotations at C (#2251)
for Jade Shadows' spy mission with 4 vaults. will simply do ABCC in this case. Closes #2250 Reviewed-on: OpenWF/SpaceNinjaServer#2251 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									cee622d5e9
								
							
						
					
					
						commit
						2421a16b2c
					
				@ -79,7 +79,7 @@ const getRotations = (rewardInfo: IRewardInfo, tierOverride?: number): number[]
 | 
			
		||||
    if (rewardInfo.VaultsCracked) {
 | 
			
		||||
        const rotations: number[] = [];
 | 
			
		||||
        for (let i = 0; i != rewardInfo.VaultsCracked; ++i) {
 | 
			
		||||
            rotations.push(i);
 | 
			
		||||
            rotations.push(Math.min(i, 2));
 | 
			
		||||
        }
 | 
			
		||||
        return rotations;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user