1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 09:17:57 +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

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