1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-29 19:40:35 +00:00

Woods+Time: do not waste charge on attacking monsters in trees

This commit is contained in:
Zeno Rogue 2022-06-17 09:13:46 +02:00
parent 80e5a9d50e
commit a87ef1b02c

View File

@ -807,7 +807,7 @@ void pcmove::tell_why_cannot_attack() {
bool pcmove::after_escape() {
cell*& c2 = mi.t;
bool push_behind = c2->wall == waBigStatue || (among(c2->wall, waCTree, waSmallTree, waBigTree, waShrub, waVinePlant) && markOrb(itOrbWoods));
bool push_behind = c2->wall == waBigStatue || (among(c2->wall, waCTree, waSmallTree, waBigTree, waShrub, waVinePlant) && !c2->monst && markOrb(itOrbWoods));
if(thruVine(c2, cwt.at) && markOrb(itOrbWoods)) push_behind = true;