mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed the orb generation in the Whirlpool in OSM
This commit is contained in:
		| @@ -953,13 +953,13 @@ namespace whirlpool { | |||||||
|       // 250 : hard |       // 250 : hard | ||||||
|       if(hrand(5000) < 60 + 3 * items[itWhirlpool] + yendor::hardness()) |       if(hrand(5000) < 60 + 3 * items[itWhirlpool] + yendor::hardness()) | ||||||
|         wto->monst = moPirate; |         wto->monst = moPirate; | ||||||
|       if(hrand(5000) < 20 && d < -20 && !tactic::on) |       if(hrand(5000) < 20 && d < -20 && !tactic::on && !peace::on) | ||||||
|         wto->item = itOrbSafety; |         wto->item = itOrbSafety; | ||||||
|       else if(hrand(5000) < 20 && d < -20 && !tactic::on && markOrb(itOrbLuck)) |       else if(hrand(5000) < 20 && d < -20 && !tactic::on && markOrb(itOrbLuck)) | ||||||
|         wto->item = itOrbSafety; |         wto->item = itOrbSafety; | ||||||
|       else if(hrand(5000) < 20*PRIZEMUL && d < -20) |       else if(hrand(5000) < 20*PRIZEMUL && d < -20) | ||||||
|         placePrizeOrb(wto); |         placePrizeOrb(wto); | ||||||
|       else if(items[itWhirlpool] >= 10 && hrand(5000) < 20 && d < -15) |       else if(!peace::on && items[itWhirlpool] >= 10 && hrand(5000) < 20 && d < -15) | ||||||
|         wto->item = itOrbWater; |         wto->item = itOrbWater; | ||||||
|       else if(d<-10 && hrand(5000) < 1000-d) |       else if(d<-10 && hrand(5000) < 1000-d) | ||||||
|         wto->item = itWhirlpool; |         wto->item = itWhirlpool; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue