1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-03 23:14:07 +00:00

fixed the returning of tortoises while you have Flash/Storms

This commit is contained in:
Zeno Rogue 2025-05-06 10:15:45 +02:00
parent ce6c9014bd
commit a90143e8d6

View File

@ -1152,7 +1152,7 @@ bool pcmove::attack() {
auto& c2 = mi.t;
if(!fmsAttack) return false;
if(items[itOrbFlash] || items[itOrbLightning])
if((items[itOrbFlash] || items[itOrbLightning]) && !good_tortoise)
return false;
attackflags = AF_NORMAL;