mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-04 07:43:02 +00:00 
			
		
		
		
	fixed wrong display of prize Orb spawn rates
This commit is contained in:
		
							
								
								
									
										9
									
								
								help.cpp
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								help.cpp
									
									
									
									
									
								
							@@ -253,9 +253,12 @@ void describeOrb(string& help, const orbinfo& oi) {
 | 
			
		||||
  int t = items[tr] * landMultiplier(oi.l);
 | 
			
		||||
  if(t >= 25)
 | 
			
		||||
  if(olr == olrPrize25 || olr == olrPrize3 || olr == olrGuest || olr == olrMonster || olr == olrAlways) {
 | 
			
		||||
    help += XLAT("\nSpawn rate (as prize Orb): %1%/%2\n", 
 | 
			
		||||
      its(int(.5 + 100 * orbprizefun(t))),
 | 
			
		||||
      its(oi.gchance));
 | 
			
		||||
    for(auto& oi1: orbinfos) 
 | 
			
		||||
      if((oi1.flags & orbgenflags::NATIVE) && oi1.orb == oi.orb) {
 | 
			
		||||
        help += XLAT("\nSpawn rate (as prize Orb): %1%/%2\n", 
 | 
			
		||||
          its(int(.5 + 100 * orbprizefun(t))),
 | 
			
		||||
          its(oi1.gchance));
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
  if(t >= 10)
 | 
			
		||||
  if(olr == olrHub) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user