mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	Woods+Time: do not waste charge on attacking monsters in trees
This commit is contained in:
		| @@ -807,7 +807,7 @@ void pcmove::tell_why_cannot_attack() { | |||||||
| bool pcmove::after_escape() { | bool pcmove::after_escape() { | ||||||
|   cell*& c2 = mi.t; |   cell*& c2 = mi.t; | ||||||
|    |    | ||||||
|   bool push_behind = c2->wall == waBigStatue || (among(c2->wall, waCTree, waSmallTree, waBigTree, waShrub, waVinePlant) && markOrb(itOrbWoods)); |   bool push_behind = c2->wall == waBigStatue || (among(c2->wall, waCTree, waSmallTree, waBigTree, waShrub, waVinePlant) && !c2->monst && markOrb(itOrbWoods)); | ||||||
|    |    | ||||||
|   if(thruVine(c2, cwt.at) && markOrb(itOrbWoods)) push_behind = true; |   if(thruVine(c2, cwt.at) && markOrb(itOrbWoods)) push_behind = true; | ||||||
|    |    | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue