mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Thumpers now attract monsters with special movement rules
This commit is contained in:
		
							
								
								
									
										1
									
								
								game.cpp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								game.cpp
									
									
									
									
									
								
							| @@ -4931,6 +4931,7 @@ EX void groupmove2(cell *c, cell *from, int d, eMonster movtype, flagtype mf) { | |||||||
|   if(movtype == moKrakenH && isTargetOrAdjacent(from)) ; |   if(movtype == moKrakenH && isTargetOrAdjacent(from)) ; | ||||||
| /*  else if(passable_for(movtype, from, c, P_ONPLAYER | P_CHAIN | P_MONSTER)) ; | /*  else if(passable_for(movtype, from, c, P_ONPLAYER | P_CHAIN | P_MONSTER)) ; | ||||||
|   else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ; */ |   else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ; */ | ||||||
|  |   else if(from->wall == waThumperOn) ; | ||||||
|   else if(passable_for(movtype, from, c, P_CHAIN | P_MONSTER)) ; |   else if(passable_for(movtype, from, c, P_CHAIN | P_MONSTER)) ; | ||||||
|   else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ; |   else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ; | ||||||
|   else if(isMagneticPole(movtype)) { |   else if(isMagneticPole(movtype)) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue