mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-21 08:57:39 +00:00
crossbow:: saving tortoises now possible
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user