mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	crossbow:: no more mimics attacking in melee, or swinging at mirrors
This commit is contained in:
		| @@ -1457,7 +1457,7 @@ EX namespace mirror { | ||||
|         if(c2->monst) { | ||||
|           c->monst = moMimic; | ||||
|           eMonster m2 = c2->monst; | ||||
|           if(!peace::on && canAttack(c,moMimic,c2,m2, 0)) { | ||||
|           if(!peace::on && !bow::crossbow_mode() && canAttack(c,moMimic,c2,m2, 0)) { | ||||
|             attackMonster(c2, AF_NORMAL | AF_MSG, moMimic); | ||||
|             if(!fwd) produceGhost(c2, m2, moMimic); | ||||
|             sideAttack(c, m.second.spin, m2, 0); | ||||
|   | ||||
| @@ -913,7 +913,7 @@ bool pcmove::after_escape() { | ||||
|     c2->wall == waBigTree || | ||||
|     c2->wall == waSmallTree || | ||||
|     (c2->wall == waShrub && items[itOrbSlaying]) || | ||||
|     c2->wall == waMirrorWall; | ||||
|     (c2->wall == waMirrorWall && !bow::crossbow_mode()); | ||||
|   if(attackable && markOrb(itOrbAether) && c2->wall != waMirrorWall) | ||||
|     attackable = false; | ||||
|   bool nm; nm = attackable; | ||||
| @@ -952,7 +952,7 @@ bool pcmove::after_escape() { | ||||
|       c2->wall = waSmallTree; | ||||
|       return swing(); | ||||
|       } | ||||
|     if(!peace::on) { | ||||
|     if(!peace::on && !bow::crossbow_mode()) { | ||||
|       if(c2->wall == waMirrorWall) | ||||
|         addMessage(XLAT("You swing your sword at the mirror.")); | ||||
|       else if(c2->wall) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue