1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 08:27:39 +00:00

Kraken variant of pseudohept

This commit is contained in:
Zeno Rogue
2018-05-04 12:49:50 +02:00
parent 4bf892442f
commit e3c3a4202e
5 changed files with 14 additions and 5 deletions

View File

@@ -809,7 +809,7 @@ bool passable_for(eMonster m, cell *w, cell *from, flagtype extra) {
}
if((extra & P_ONPLAYER) && isPlayerOn(w))
return true;
if(pseudohept(w) || pseudohept(from)) return false;
if(kraken_pseudohept(w) || kraken_pseudohept(from)) return false;
if(w->wall != waBoat && !slimepassable(w, from)) return false;
forCellEx(w2, w) if(w2->wall != waBoat && !passable(w2, w, P_FISH | P_MONSTER)) return false;
return true;