1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-03 11:17:56 +00:00

crossbow:: no more mimics attacking in melee, or swinging at mirrors

This commit is contained in:
Zeno Rogue
2023-10-29 09:21:49 +01:00
parent b84e751d96
commit c91dc341ae
2 changed files with 3 additions and 3 deletions

View File

@@ -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)