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

bow:: bolts do not go through Warped

This commit is contained in:
Zeno Rogue 2023-12-02 08:46:31 +01:00
parent a840b96104
commit 439040c90c

View File

@ -87,6 +87,7 @@ EX int bolt_score(cellwalker cw2) {
if(inmirror(cw2.at)) cw2 = mirror::reflect(cw2); if(inmirror(cw2.at)) cw2 = mirror::reflect(cw2);
if(blocks(cw2.cpeek())) return -1; if(blocks(cw2.cpeek())) return -1;
if(thruVine(cw2.at, cw2.cpeek())) return -1; if(thruVine(cw2.at, cw2.cpeek())) return -1;
if(nonAdjacent(cw2.at, cw2.cpeek())) return -1;
if(cw2.at->monst) { if(cw2.at->monst) {
flagtype attackflags = AF_BOW; flagtype attackflags = AF_BOW;