mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed ocean wandering albatross generation, and added Orbs of Safety
This commit is contained in:
		| @@ -411,6 +411,11 @@ void wandering() { | |||||||
|       continue; |       continue; | ||||||
|       } |       } | ||||||
|      |      | ||||||
|  |     else if(c->land == laOcean && cwt.at->land == laOcean && cwt.at->landparam > 25 && c->landparam > 25 && !tactic::on && !yendor::on && hrand(100) < 2) { | ||||||
|  |       c->monst = moPirate; c->wall = waBoat; c->item = itOrbSafety;  | ||||||
|  |       continue; | ||||||
|  |       } | ||||||
|  |  | ||||||
|     else if(c->wall == waCTree && !c->monst && wchance(items[itPirate], 15) && canReachPlayer(c, moSlime)) { |     else if(c->wall == waCTree && !c->monst && wchance(items[itPirate], 15) && canReachPlayer(c, moSlime)) { | ||||||
|       c->monst = moParrot; |       c->monst = moParrot; | ||||||
|       playSeenSound(c); |       playSeenSound(c); | ||||||
| @@ -459,7 +464,7 @@ void wandering() { | |||||||
|         playSeenSound(c); |         playSeenSound(c); | ||||||
|         continue; |         continue; | ||||||
|         } |         } | ||||||
|       if(c->land == laOcean && (items[itCoast] > 50 || (cwt.at->landparam < 25 && c->landparam < 25)) && wchance(items[itCoast], 25) && canReachPlayer(c, moEagle)) { |       if(c->land == laOcean && (items[itCoast] > 50 || ((cwt.at->land != laOcean || cwt.at->landparam < 25) && c->landparam < 25)) && wchance(items[itCoast], 25) && canReachPlayer(c, moEagle)) { | ||||||
|         c->monst = moAlbatross; |         c->monst = moAlbatross; | ||||||
|         playSeenSound(c); |         playSeenSound(c); | ||||||
|         continue; |         continue; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue