1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-27 09:24:53 +00:00

crossbow:: saving tortoises now possible

This commit is contained in:
Zeno Rogue 2023-10-29 00:06:40 +02:00
parent 87f7b2a593
commit b2c8bb96d6

View File

@ -1058,7 +1058,7 @@ bool pcmove::attack() {
if(items[itOrbSlaying]) attackflags |= AF_CRUSH;
if(items[itCurseWeakness]) attackflags |= AF_WEAK;
bool ca = bow::crossbow_mode() ? false : canAttack(cwt.at, moPlayer, c2, c2->monst, attackflags);
bool ca = bow::crossbow_mode() ? good_tortoise : canAttack(cwt.at, moPlayer, c2, c2->monst, attackflags);
if(!ca) {
if(forcedmovetype == fmAttack) {