mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	rollback Hunting Dog
This commit is contained in:
		| @@ -2035,7 +2035,6 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { | |||||||
|                   cellwalker cw1 = ci + bonus + wstep + revstep; |                   cellwalker cw1 = ci + bonus + wstep + revstep; | ||||||
|                   if(cw0.at->mpdist > 7) |                   if(cw0.at->mpdist > 7) | ||||||
|                   if(cw1.at->mpdist > 7) |                   if(cw1.at->mpdist > 7) | ||||||
|                   if(!next->monst || next->monst == moHunterGuard) |  | ||||||
|                     next.emplace_back(cw0.at, cw1.at); |                     next.emplace_back(cw0.at, cw1.at); | ||||||
|                   } |                   } | ||||||
|                 if(isize(next)) { |                 if(isize(next)) { | ||||||
| @@ -2052,7 +2051,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { | |||||||
|                   c->item = itHunting; |                   c->item = itHunting; | ||||||
|                   cell *c3 = next[hrand(isize(next))]; |                   cell *c3 = next[hrand(isize(next))]; | ||||||
|                   vector<cell*> dogcells; |                   vector<cell*> dogcells; | ||||||
|                   forCellEx(c4, c3) if(c4->mpdist > 7 && !isNeighbor(c4, c) && (c4->monst ==moHunterGuard || !c4->monst)) |                   forCellEx(c4, c3) if(c4->mpdist > 7 && !isNeighbor(c4, c)) | ||||||
|                     dogcells.push_back(c4); |                     dogcells.push_back(c4); | ||||||
|                   if(items[itHunting] < 10 && isize(dogcells) >= 2) { |                   if(items[itHunting] < 10 && isize(dogcells) >= 2) { | ||||||
|                     for(int t=0;; t++) { |                     for(int t=0;; t++) { | ||||||
| @@ -2079,7 +2078,7 @@ EX void giantLandSwitch(cell *c, int d, cell *from) { | |||||||
|             else placeLocalSpecial(c, 10); |             else placeLocalSpecial(c, 10); | ||||||
|             } |             } | ||||||
|           } |           } | ||||||
|         if(hrand_monster(5000) < items[itHunting]- 17 + yendor::hardness() && !c->monst) |         if(hrand_monster(5000) < items[itHunting]- 17 + yendor::hardness()) | ||||||
|           c->monst = moHunterDog; |           c->monst = moHunterDog; | ||||||
|         } |         } | ||||||
|       break; |       break; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue