mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-27 02:20:36 +00:00
bow:: bolts do not go through Warped
This commit is contained in:
parent
a840b96104
commit
439040c90c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user