mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-25 04:02:50 +00:00
crossbow:: saving tortoises now possible
This commit is contained in:
parent
87f7b2a593
commit
b2c8bb96d6
@ -1058,7 +1058,7 @@ bool pcmove::attack() {
|
|||||||
if(items[itOrbSlaying]) attackflags |= AF_CRUSH;
|
if(items[itOrbSlaying]) attackflags |= AF_CRUSH;
|
||||||
if(items[itCurseWeakness]) attackflags |= AF_WEAK;
|
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(!ca) {
|
||||||
if(forcedmovetype == fmAttack) {
|
if(forcedmovetype == fmAttack) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user