fix: give rewards for completing a capture mission #1872
@ -78,12 +78,10 @@ const getRotations = (rewardInfo: IRewardInfo, tierOverride?: number): number[]
 | 
			
		||||
 | 
			
		||||
    const rotationCount = rewardInfo.rewardQualifications?.length || 0;
 | 
			
		||||
 | 
			
		||||
    // Empty or absent rewardQualifications should not give rewards:
 | 
			
		||||
    // - Aborting a railjack mission (https://onlyg.it/OpenWF/SpaceNinjaServer/issues/1741)
 | 
			
		||||
    // Empty or absent rewardQualifications should not give rewards when:
 | 
			
		||||
    // - Completing only 1 zone of (E)SO (https://onlyg.it/OpenWF/SpaceNinjaServer/issues/1823)
 | 
			
		||||
 | 
			
		||||
    // Successful completion of a capture mission should always give a rot A reward, although it has the same rewardInfo as completing only 1 zone of (E)SO
 | 
			
		||||
    if (missionIndex == 5) {
 | 
			
		||||
    // - Aborting a railjack mission (https://onlyg.it/OpenWF/SpaceNinjaServer/issues/1741)
 | 
			
		||||
    if (rotationCount == 0 && missionIndex != 30 && missionIndex != 32) {
 | 
			
		||||
        return [0];
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user