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

crossbow:: graves and Round Table are non-blocking, thruVine is blocking

This commit is contained in:
Zeno Rogue
2023-10-28 23:33:38 +02:00
parent b3b1611f33
commit a163c80ba1
5 changed files with 9 additions and 7 deletions

View File

@@ -67,7 +67,8 @@ EX int loading_time() {
}
EX bool blocks(cell *c) {
if(isWall(c) && !among(c->wall, waMirrorWall, waMirror, waCloud)) return true;
if(items[itOrbAether]) return false;
if(isWall(c) && !among(c->wall, waMirrorWall, waMirror, waCloud) && !isNonblock(c->wall)) return true;
// if(c->monst && isMultitile(c->monst)) return true;
return false;
}
@@ -97,7 +98,7 @@ EX int create_path() {
auto cw2 = ocw2;
if(inmirror(c)) cw2 = mirror::reflect(cw2);
if(blocks(cw2.peek())) continue;
if(thruVine(cw2.at, cw2.peek())) continue;
if(cw2.at->monst) {
flagtype attackflags = AF_NORMAL;