mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Added summoning rules for the new lands.
This commit is contained in:
		
							
								
								
									
										5
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -1609,6 +1609,11 @@ bool earthWall(cell *c) { | ||||
|     c->wall = waRed3; | ||||
|     return true; | ||||
|     } | ||||
|   if(c->wall == waNone && c->land == laSnakeNest) { | ||||
|     c->item = itNone; | ||||
|     c->wall = waRed3; | ||||
|     return true; | ||||
|     } | ||||
|   if(c->wall == waNone && c->land == laBurial) { | ||||
|     c->item = itNone; | ||||
|     c->wall = waBarrowDig; | ||||
|   | ||||
							
								
								
									
										6
									
								
								orbs.cpp
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								orbs.cpp
									
									
									
									
									
								
							| @@ -699,6 +699,7 @@ eMonster summonedAt(cell *dest) { | ||||
|       dest->land == laLivefjord ? moViking :  | ||||
|       dest->land == laKraken ? moViking :  | ||||
|       dest->land == laWarpCoast ? moRatling :  | ||||
|       dest->land == laDocks ? moWaterElemental : | ||||
|       moPirate; | ||||
|   if(isReptile(dest->wall)) | ||||
|     return moReptile; | ||||
| @@ -720,7 +721,7 @@ eMonster summonedAt(cell *dest) { | ||||
|     return moWaterElemental; | ||||
|   if(dest->wall == waBoat) | ||||
|     return moAirElemental; | ||||
|   if(dest->wall == waStone) | ||||
|   if(dest->wall == waStone || dest->wall == waRuinWall) | ||||
|     return moEarthElemental; | ||||
|   if(dest->wall == waGiantRug) | ||||
|     return moVizier; | ||||
| @@ -766,6 +767,9 @@ eMonster summonedAt(cell *dest) { | ||||
|     if(dest->land == laVolcano) return moFireElemental; | ||||
|     if(dest->land == laBlizzard) return moAirElemental; | ||||
|     if(dest->land == laTerracotta) return moEarthElemental; | ||||
|     if(dest->land == laRuins) return moEarthElemental; | ||||
|     if(dest->land == laSwitch) return passive_switch; | ||||
|     if(dest->land == laSnakeNest) return moEarthElemental; | ||||
|     if(isHaunted(dest->land)) return moGhost; | ||||
|     } | ||||
|   return moNone; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue